dart-sdk/pkg/dart2wasm/lib
Michael Thomsen 0df58fc2d0 Add new dart compile wasm command.
Marked as experimental, and only shown when verbose flag is passed:

```
$ dart help compile -v
Compile Dart to various formats.

Usage: dart [vm-options] compile <subcommand> [arguments]
-h, --help    Print this usage information.

Available subcommands:
  aot-snapshot   Compile Dart to an AOT snapshot.
  exe            Compile Dart to a self-contained executable.
  jit-snapshot   Compile Dart to a JIT snapshot.
  js             Compile Dart to JavaScript.
  kernel         Compile Dart to a kernel snapshot.
  wasm           Compile Dart to a WebAssembly/WasmGC module (EXPERIMENTAL).
```

Change-Id: I6a0e65d4fbdd7b2782406b8b9969e14036bf0711
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/304860
Reviewed-by: Ben Konyi <bkonyi@google.com>
Commit-Queue: Michael Thomsen <mit@google.com>
Reviewed-by: Aske Simon Christensen <askesc@google.com>
2023-12-05 15:44:53 +00:00
..
js [dart2wasm] Use browser decoder when possible in non-JSCM mode 2023-12-01 09:36:41 +00:00
abi.dart [ffi] Convert ABI-specific integers to fixed-width integers when doing wasm FfiNative transformation. 2022-11-08 22:16:28 +00:00
async.dart [dart2wasm] Add option to verify type check implementations 2023-11-16 15:04:58 +00:00
await_transformer.dart [vm, dart2wasm] Early lowering of FunctionTearOff nodes 2023-09-15 16:54:08 +00:00
class_info.dart Reland "[dart2wasm] Use DataView in JS typed arrays" 2023-11-09 10:23:31 +00:00
closures.dart [cfe] Add representation field to ExtensionTypeDeclaration 2023-10-19 10:15:25 +00:00
code_generator.dart [dart2wasm] Fix looping when inlining constructors 2023-12-04 15:01:36 +00:00
compile.dart Add new dart compile wasm command. 2023-12-05 15:44:53 +00:00
compiler_options.dart Add new dart compile wasm command. 2023-12-05 15:44:53 +00:00
constants.dart [dart2wasm] Avoid using _Closure as a type 2023-11-16 15:04:58 +00:00
dart2wasm.dart Add new dart compile wasm command. 2023-12-05 15:44:53 +00:00
dispatch_table.dart [dart2wasm] Don't generate duplicate selectors for dynamic calls 2023-10-27 12:31:23 +00:00
dynamic_forwarders.dart [dart2wasm] Avoid duplicate checks in dynamic forwarders 2023-12-05 13:13:41 +00:00
ffi_native_transformer.dart [vm/ffi]: Add Native.addressOf 2023-12-05 13:10:36 +00:00
functions.dart Reland "[dart2wasm] Replace struct.new_default with struct.new for object allocation." 2023-09-26 10:07:42 +00:00
generate_wasm.dart Add new dart compile wasm command. 2023-12-05 15:44:53 +00:00
globals.dart [wasm_builder] Refactor to a builder / built pattern. 2023-07-31 15:27:58 +00:00
intrinsics.dart Reland "[dart2wasm] Use DataView in JS typed arrays" 2023-11-09 10:23:31 +00:00
kernel_nodes.dart [dart2wasm] Add option to verify type check implementations 2023-11-16 15:04:58 +00:00
list_factory_specializer.dart [dart2wasm] Transform List factory calls to implementation class calls 2023-08-09 09:31:59 +00:00
option.dart Add new dart compile wasm command. 2023-12-05 15:44:53 +00:00
param_info.dart [dart2wasm] Support different default values within the same selector 2022-09-14 13:43:52 +00:00
record_class_generator.dart [kernel] Add VariableDeclaration.isSynthesized 2023-03-10 11:13:36 +00:00
records.dart [tfa,dart2wasm] Create separate class for each record shape in TFA 2023-03-07 18:06:42 +00:00
reference_extensions.dart Reland "[dart2wasm] Replace struct.new_default with struct.new for object allocation." 2023-09-26 10:07:42 +00:00
sync_star.dart Reland "[dart2wasm] Use a separate Wasm struct for every Dart class" 2023-10-19 09:45:04 +00:00
target.dart [dart2wasm] Allocate TextDecoder once when decoding UTF-8 to JSStringImpl 2023-11-14 11:42:23 +00:00
transformers.dart [dart2wasm] Fix invalid closure return type in async* lowering 2023-12-01 14:06:18 +00:00
translator.dart [dart2wasm] Fix nullability of type parameter types 2023-12-04 09:10:39 +00:00
types.dart [dart2wasm] Add option to verify type check implementations 2023-11-16 15:04:58 +00:00