| 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 390 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 401 { "dart:isolate", "::", "_getIsolateScheduleImmediateClosure" }, | 401 { "dart:isolate", "::", "_getIsolateScheduleImmediateClosure" }, |
| 402 { "dart:isolate", "::", "_setupHooks" }, | 402 { "dart:isolate", "::", "_setupHooks" }, |
| 403 { "dart:isolate", "::", "_startMainIsolate" }, | 403 { "dart:isolate", "::", "_startMainIsolate" }, |
| 404 { "dart:isolate", "::", "_startIsolate" }, | 404 { "dart:isolate", "::", "_startIsolate" }, |
| 405 { "dart:isolate", "_RawReceivePortImpl", "_handleMessage" }, | 405 { "dart:isolate", "_RawReceivePortImpl", "_handleMessage" }, |
| 406 { "dart:isolate", "_RawReceivePortImpl", "_lookupHandler" }, | 406 { "dart:isolate", "_RawReceivePortImpl", "_lookupHandler" }, |
| 407 { "dart:isolate", "_SendPortImpl", "send" }, | 407 { "dart:isolate", "_SendPortImpl", "send" }, |
| 408 { "dart:typed_data", "ByteData", "ByteData." }, | 408 { "dart:typed_data", "ByteData", "ByteData." }, |
| 409 { "dart:typed_data", "ByteData", "ByteData._view" }, | 409 { "dart:typed_data", "ByteData", "ByteData._view" }, |
| 410 { "dart:typed_data", "ByteBuffer", "ByteBuffer._New" }, | 410 { "dart:typed_data", "ByteBuffer", "ByteBuffer._New" }, |
| 411 #if !defined(PRODUCT) | |
| 412 { "dart:_vmservice", "::", "_registerIsolate" }, | 411 { "dart:_vmservice", "::", "_registerIsolate" }, |
| 413 { "dart:_vmservice", "::", "boot" }, | 412 { "dart:_vmservice", "::", "boot" }, |
| 413 #if !defined(PRODUCT) |
| 414 { "dart:developer", "Metrics", "_printMetrics" }, | 414 { "dart:developer", "Metrics", "_printMetrics" }, |
| 415 { "dart:developer", "::", "_runExtension" }, | 415 { "dart:developer", "::", "_runExtension" }, |
| 416 { "dart:isolate", "::", "_runPendingImmediateCallback" }, | 416 { "dart:isolate", "::", "_runPendingImmediateCallback" }, |
| 417 #endif // !PRODUCT | 417 #endif // !PRODUCT |
| 418 // Fields | 418 // Fields |
| 419 { "dart:core", "Error", "_stackTrace" }, | 419 { "dart:core", "Error", "_stackTrace" }, |
| 420 { "dart:math", "_Random", "_state" }, | 420 { "dart:math", "_Random", "_state" }, |
| 421 { NULL, NULL, NULL } // Must be terminated with NULL entries. | 421 { NULL, NULL, NULL } // Must be terminated with NULL entries. |
| 422 }; | 422 }; |
| 423 | 423 |
| (...skipping 2424 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2848 CompilationPipeline::New(thread->zone(), function); | 2848 CompilationPipeline::New(thread->zone(), function); |
| 2849 | 2849 |
| 2850 ASSERT(FLAG_precompiled_mode); | 2850 ASSERT(FLAG_precompiled_mode); |
| 2851 const bool optimized = function.IsOptimizable(); // False for natives. | 2851 const bool optimized = function.IsOptimizable(); // False for natives. |
| 2852 return PrecompileFunctionHelper(pipeline, function, optimized); | 2852 return PrecompileFunctionHelper(pipeline, function, optimized); |
| 2853 } | 2853 } |
| 2854 | 2854 |
| 2855 #endif // DART_PRECOMPILER | 2855 #endif // DART_PRECOMPILER |
| 2856 | 2856 |
| 2857 } // namespace dart | 2857 } // namespace dart |
| OLD | NEW |