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/code_patcher.h" | 7 #include "vm/code_patcher.h" |
8 #include "vm/compiler.h" | 8 #include "vm/compiler.h" |
9 #include "vm/isolate.h" | 9 #include "vm/isolate.h" |
10 #include "vm/log.h" | 10 #include "vm/log.h" |
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
246 "_IsolateUnhandledException." }, | 246 "_IsolateUnhandledException." }, |
247 { "dart:isolate", "::", "_getIsolateScheduleImmediateClosure" }, | 247 { "dart:isolate", "::", "_getIsolateScheduleImmediateClosure" }, |
248 { "dart:isolate", "::", "_setupHooks" }, | 248 { "dart:isolate", "::", "_setupHooks" }, |
249 { "dart:isolate", "::", "_startMainIsolate" }, | 249 { "dart:isolate", "::", "_startMainIsolate" }, |
250 { "dart:isolate", "_RawReceivePortImpl", "_handleMessage" }, | 250 { "dart:isolate", "_RawReceivePortImpl", "_handleMessage" }, |
251 { "dart:isolate", "_RawReceivePortImpl", "_lookupHandler" }, | 251 { "dart:isolate", "_RawReceivePortImpl", "_lookupHandler" }, |
252 { "dart:isolate", "_SendPortImpl", "send" }, | 252 { "dart:isolate", "_SendPortImpl", "send" }, |
253 { "dart:typed_data", "ByteData", "ByteData." }, | 253 { "dart:typed_data", "ByteData", "ByteData." }, |
254 { "dart:typed_data", "ByteData", "ByteData._view" }, | 254 { "dart:typed_data", "ByteData", "ByteData._view" }, |
255 { "dart:typed_data", "_ByteBuffer", "_ByteBuffer._New" }, | 255 { "dart:typed_data", "_ByteBuffer", "_ByteBuffer._New" }, |
256 { "dart:vmservice", "::", "_registerIsolate" }, | 256 { "dart:_vmservice", "::", "_registerIsolate" }, |
257 { "dart:vmservice", "::", "boot" }, | 257 { "dart:_vmservice", "::", "boot" }, |
| 258 { "dart:developer", "Metrics", "_printMetrics" }, |
258 { NULL, NULL, NULL } // Must be terminated with NULL entries. | 259 { NULL, NULL, NULL } // Must be terminated with NULL entries. |
259 }; | 260 }; |
260 | 261 |
261 AddEntryPoints(vm_entry_points); | 262 AddEntryPoints(vm_entry_points); |
262 AddEntryPoints(embedder_entry_points); | 263 AddEntryPoints(embedder_entry_points); |
263 } | 264 } |
264 | 265 |
265 | 266 |
266 void Precompiler::AddEntryPoints(Dart_QualifiedFunctionName entry_points[]) { | 267 void Precompiler::AddEntryPoints(Dart_QualifiedFunctionName entry_points[]) { |
267 Library& lib = Library::Handle(Z); | 268 Library& lib = Library::Handle(Z); |
(...skipping 685 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
953 cls = it.GetNextClass(); | 954 cls = it.GetNextClass(); |
954 if (cls.IsDynamicClass()) { | 955 if (cls.IsDynamicClass()) { |
955 continue; // class 'dynamic' is in the read-only VM isolate. | 956 continue; // class 'dynamic' is in the read-only VM isolate. |
956 } | 957 } |
957 cls.set_is_allocated(false); | 958 cls.set_is_allocated(false); |
958 } | 959 } |
959 } | 960 } |
960 } | 961 } |
961 | 962 |
962 } // namespace dart | 963 } // namespace dart |
OLD | NEW |