| OLD | NEW |
| 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 #include "vm/precompiler.h" | 5 #include "vm/precompiler.h" |
| 6 | 6 |
| 7 #include "vm/aot_optimizer.h" | 7 #include "vm/aot_optimizer.h" |
| 8 #include "vm/assembler.h" | 8 #include "vm/assembler.h" |
| 9 #include "vm/ast_printer.h" | 9 #include "vm/ast_printer.h" |
| 10 #include "vm/branch_optimizer.h" | 10 #include "vm/branch_optimizer.h" |
| (...skipping 660 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 671 {"dart:isolate", "IsolateSpawnException", "IsolateSpawnException."}, | 671 {"dart:isolate", "IsolateSpawnException", "IsolateSpawnException."}, |
| 672 {"dart:isolate", "::", "_getIsolateScheduleImmediateClosure"}, | 672 {"dart:isolate", "::", "_getIsolateScheduleImmediateClosure"}, |
| 673 {"dart:isolate", "::", "_setupHooks"}, | 673 {"dart:isolate", "::", "_setupHooks"}, |
| 674 {"dart:isolate", "::", "_startMainIsolate"}, | 674 {"dart:isolate", "::", "_startMainIsolate"}, |
| 675 {"dart:isolate", "::", "_startIsolate"}, | 675 {"dart:isolate", "::", "_startIsolate"}, |
| 676 {"dart:isolate", "_RawReceivePortImpl", "_handleMessage"}, | 676 {"dart:isolate", "_RawReceivePortImpl", "_handleMessage"}, |
| 677 {"dart:isolate", "_RawReceivePortImpl", "_lookupHandler"}, | 677 {"dart:isolate", "_RawReceivePortImpl", "_lookupHandler"}, |
| 678 {"dart:isolate", "_SendPortImpl", "send"}, | 678 {"dart:isolate", "_SendPortImpl", "send"}, |
| 679 {"dart:typed_data", "ByteData", "ByteData."}, | 679 {"dart:typed_data", "ByteData", "ByteData."}, |
| 680 {"dart:typed_data", "ByteData", "ByteData._view"}, | 680 {"dart:typed_data", "ByteData", "ByteData._view"}, |
| 681 {"dart:typed_data", "ByteBuffer", "ByteBuffer._New"}, | 681 {"dart:typed_data", "_ByteBuffer", "_ByteBuffer._New"}, |
| 682 {"dart:_vmservice", "::", "_registerIsolate"}, | 682 {"dart:_vmservice", "::", "_registerIsolate"}, |
| 683 {"dart:_vmservice", "::", "boot"}, | 683 {"dart:_vmservice", "::", "boot"}, |
| 684 #if !defined(PRODUCT) | 684 #if !defined(PRODUCT) |
| 685 {"dart:developer", "Metrics", "_printMetrics"}, | 685 {"dart:developer", "Metrics", "_printMetrics"}, |
| 686 {"dart:developer", "::", "_runExtension"}, | 686 {"dart:developer", "::", "_runExtension"}, |
| 687 {"dart:isolate", "::", "_runPendingImmediateCallback"}, | 687 {"dart:isolate", "::", "_runPendingImmediateCallback"}, |
| 688 #endif // !PRODUCT | 688 #endif // !PRODUCT |
| 689 // Fields | 689 // Fields |
| 690 {"dart:core", "Error", "_stackTrace"}, | 690 {"dart:core", "Error", "_stackTrace"}, |
| 691 {"dart:math", "_Random", "_state"}, | 691 {"dart:math", "_Random", "_state"}, |
| (...skipping 2957 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3649 | 3649 |
| 3650 ASSERT(FLAG_precompiled_mode); | 3650 ASSERT(FLAG_precompiled_mode); |
| 3651 const bool optimized = function.IsOptimizable(); // False for natives. | 3651 const bool optimized = function.IsOptimizable(); // False for natives. |
| 3652 DartPrecompilationPipeline pipeline(zone, field_type_map); | 3652 DartPrecompilationPipeline pipeline(zone, field_type_map); |
| 3653 return PrecompileFunctionHelper(precompiler, &pipeline, function, optimized); | 3653 return PrecompileFunctionHelper(precompiler, &pipeline, function, optimized); |
| 3654 } | 3654 } |
| 3655 | 3655 |
| 3656 #endif // DART_PRECOMPILER | 3656 #endif // DART_PRECOMPILER |
| 3657 | 3657 |
| 3658 } // namespace dart | 3658 } // namespace dart |
| OLD | NEW |