|
VM: Add dart_precompiled build target, a standalone VM without the JIT compiler.
This removes most of the compiler-related code from dart_precompiled:
x64 stripped binary size 13M -> 9.1M
ARM stripped binary size 12M -> 8.3M
The precompiled build defines the DART_PRECOMPILED macro. This
stubs out the public interface to the compiler/parser with empty
function bodies.
Use gcc options -ffunction-sections and --gc-sections to make the linker remove
unused functions/symbols.
BUG=
R=rmacnak@google.com
Committed: https://github.com/dart-lang/sdk/commit/f0a35b32607988a669db0d021e43f5211c707828
Total comments: 19
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+352 lines, -11 lines) |
Patch |
|
M |
dart.gyp
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
runtime/bin/bin.gypi
|
View
|
1
|
1 chunk |
+43 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/dart-runtime.gyp
|
View
|
|
1 chunk |
+34 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/code_generator.cc
|
View
|
1
2
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
runtime/vm/compiler.cc
|
View
|
1
2
|
3 chunks |
+110 lines, -3 lines |
1 comment
|
Download
|
|
M |
runtime/vm/guard_field_test.cc
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
runtime/vm/isolate.cc
|
View
|
1
2
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
runtime/vm/locations.cc
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
|
M |
runtime/vm/parser.cc
|
View
|
1
2
|
3 chunks |
+90 lines, -1 line |
0 comments
|
Download
|
|
M |
runtime/vm/precompiler.cc
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/vm.gypi
|
View
|
|
1 chunk |
+63 lines, -0 lines |
0 comments
|
Download
|
|
M |
tests/standalone/precompilation_dart2js_test.dart
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
tests/standalone/precompilation_test.dart
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
tools/gyp/configurations_make.gypi
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
Total messages: 7 (1 generated)
|