DescriptionAdd Kernel Isolate
To run a script with the Dart->Kernel parser, use the -dfe option:
dart --dfe=runtime/tools/kernel-service.dart --packages=/src/d2/sdk/.packages foo.dart
The front end expects a directory named patched_sdk in the build directory (patched_sdk should be a sibling of the directory that contains the dart executable.)
Warning: using a debug build dart executable is very slow. It takes 2 minutes to run Hello World in a debug build, and about 7 seconds in a release build.
BUG=
R=asiva@google.com
Committed: https://github.com/dart-lang/sdk/commit/c9399fc5571584336eeda46e5aba4b1d5a87bd0e
Patch Set 1 : wip #
Total comments: 14
Patch Set 2 : wip #
Total comments: 10
Patch Set 3 : wip #
Total comments: 2
Patch Set 4 : wip #Patch Set 5 : wip #
Messages
Total messages: 19 (9 generated)
|