Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(23)

Side by Side Diff: runtime/vm/precompiler.cc

Issue 1418833004: VM: Service isolate under precompilation. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: typo Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 "_IsolateUnhandledException." }, 226 "_IsolateUnhandledException." },
227 { "dart:isolate", "::", "_getIsolateScheduleImmediateClosure" }, 227 { "dart:isolate", "::", "_getIsolateScheduleImmediateClosure" },
228 { "dart:isolate", "::", "_setupHooks" }, 228 { "dart:isolate", "::", "_setupHooks" },
229 { "dart:isolate", "::", "_startMainIsolate" }, 229 { "dart:isolate", "::", "_startMainIsolate" },
230 { "dart:isolate", "_RawReceivePortImpl", "_handleMessage" }, 230 { "dart:isolate", "_RawReceivePortImpl", "_handleMessage" },
231 { "dart:isolate", "_RawReceivePortImpl", "_lookupHandler" }, 231 { "dart:isolate", "_RawReceivePortImpl", "_lookupHandler" },
232 { "dart:isolate", "_SendPortImpl", "send" }, 232 { "dart:isolate", "_SendPortImpl", "send" },
233 { "dart:typed_data", "ByteData", "ByteData." }, 233 { "dart:typed_data", "ByteData", "ByteData." },
234 { "dart:typed_data", "ByteData", "ByteData._view" }, 234 { "dart:typed_data", "ByteData", "ByteData._view" },
235 { "dart:typed_data", "_ByteBuffer", "_ByteBuffer._New" }, 235 { "dart:typed_data", "_ByteBuffer", "_ByteBuffer._New" },
236 { "dart:vmservice", "::", "_registerIsolate" }, 236 { "dart:_vmservice", "::", "_registerIsolate" },
237 { "dart:vmservice", "::", "boot" }, 237 { "dart:_vmservice", "::", "boot" },
238 { "dart:developer", "Metrics", "_printMetrics" },
238 { NULL, NULL, NULL } // Must be terminated with NULL entries. 239 { NULL, NULL, NULL } // Must be terminated with NULL entries.
239 }; 240 };
240 241
241 AddEntryPoints(vm_entry_points); 242 AddEntryPoints(vm_entry_points);
242 AddEntryPoints(embedder_entry_points); 243 AddEntryPoints(embedder_entry_points);
243 } 244 }
244 245
245 246
246 void Precompiler::AddEntryPoints(Dart_QualifiedFunctionName entry_points[]) { 247 void Precompiler::AddEntryPoints(Dart_QualifiedFunctionName entry_points[]) {
247 Library& lib = Library::Handle(Z); 248 Library& lib = Library::Handle(Z);
(...skipping 650 matching lines...) Expand 10 before | Expand all | Expand 10 after
898 continue; // class 'dynamic' is in the read-only VM isolate. 899 continue; // class 'dynamic' is in the read-only VM isolate.
899 } 900 }
900 cls.EnsureIsFinalized(T); 901 cls.EnsureIsFinalized(T);
901 } 902 }
902 } 903 }
903 I->set_all_classes_finalized(true); 904 I->set_all_classes_finalized(true);
904 } 905 }
905 906
906 907
907 } // namespace dart 908 } // namespace dart
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698