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 580 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
591 {"dart:isolate", "IsolateSpawnException", "IsolateSpawnException."}, | 591 {"dart:isolate", "IsolateSpawnException", "IsolateSpawnException."}, |
592 {"dart:isolate", "::", "_getIsolateScheduleImmediateClosure"}, | 592 {"dart:isolate", "::", "_getIsolateScheduleImmediateClosure"}, |
593 {"dart:isolate", "::", "_setupHooks"}, | 593 {"dart:isolate", "::", "_setupHooks"}, |
594 {"dart:isolate", "::", "_startMainIsolate"}, | 594 {"dart:isolate", "::", "_startMainIsolate"}, |
595 {"dart:isolate", "::", "_startIsolate"}, | 595 {"dart:isolate", "::", "_startIsolate"}, |
596 {"dart:isolate", "_RawReceivePortImpl", "_handleMessage"}, | 596 {"dart:isolate", "_RawReceivePortImpl", "_handleMessage"}, |
597 {"dart:isolate", "_RawReceivePortImpl", "_lookupHandler"}, | 597 {"dart:isolate", "_RawReceivePortImpl", "_lookupHandler"}, |
598 {"dart:isolate", "_SendPortImpl", "send"}, | 598 {"dart:isolate", "_SendPortImpl", "send"}, |
599 {"dart:typed_data", "ByteData", "ByteData."}, | 599 {"dart:typed_data", "ByteData", "ByteData."}, |
600 {"dart:typed_data", "ByteData", "ByteData._view"}, | 600 {"dart:typed_data", "ByteData", "ByteData._view"}, |
601 {"dart:typed_data", "ByteBuffer", "ByteBuffer._New"}, | 601 {"dart:typed_data", "_ByteBuffer", "_ByteBuffer._New"}, |
602 {"dart:_vmservice", "::", "_registerIsolate"}, | 602 {"dart:_vmservice", "::", "_registerIsolate"}, |
603 {"dart:_vmservice", "::", "boot"}, | 603 {"dart:_vmservice", "::", "boot"}, |
604 #if !defined(PRODUCT) | 604 #if !defined(PRODUCT) |
605 {"dart:developer", "Metrics", "_printMetrics"}, | 605 {"dart:developer", "Metrics", "_printMetrics"}, |
606 {"dart:developer", "::", "_runExtension"}, | 606 {"dart:developer", "::", "_runExtension"}, |
607 {"dart:isolate", "::", "_runPendingImmediateCallback"}, | 607 {"dart:isolate", "::", "_runPendingImmediateCallback"}, |
608 #endif // !PRODUCT | 608 #endif // !PRODUCT |
609 // Fields | 609 // Fields |
610 {"dart:core", "Error", "_stackTrace"}, | 610 {"dart:core", "Error", "_stackTrace"}, |
611 {"dart:math", "_Random", "_state"}, | 611 {"dart:math", "_Random", "_state"}, |
(...skipping 2687 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3299 | 3299 |
3300 ASSERT(FLAG_precompiled_mode); | 3300 ASSERT(FLAG_precompiled_mode); |
3301 const bool optimized = function.IsOptimizable(); // False for natives. | 3301 const bool optimized = function.IsOptimizable(); // False for natives. |
3302 DartPrecompilationPipeline pipeline(zone, field_type_map); | 3302 DartPrecompilationPipeline pipeline(zone, field_type_map); |
3303 return PrecompileFunctionHelper(precompiler, &pipeline, function, optimized); | 3303 return PrecompileFunctionHelper(precompiler, &pipeline, function, optimized); |
3304 } | 3304 } |
3305 | 3305 |
3306 #endif // DART_PRECOMPILER | 3306 #endif // DART_PRECOMPILER |
3307 | 3307 |
3308 } // namespace dart | 3308 } // namespace dart |
OLD | NEW |