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

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

Issue 230863005: Initial UserTag and dart:profiler library (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 8 months 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 | Annotate | Revision Log
« no previous file with comments | « runtime/vm/bootstrap.h ('k') | runtime/vm/bootstrap_natives.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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/bootstrap.h" 5 #include "vm/bootstrap.h"
6 6
7 #include "include/dart_api.h" 7 #include "include/dart_api.h"
8 8
9 #include "vm/bootstrap_natives.h" 9 #include "vm/bootstrap_natives.h"
10 #include "vm/compiler.h" 10 #include "vm/compiler.h"
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 Bootstrap::math_patch_paths_), 60 Bootstrap::math_patch_paths_),
61 INIT_LIBRARY(ObjectStore::kMirrors, 61 INIT_LIBRARY(ObjectStore::kMirrors,
62 mirrors, 62 mirrors,
63 Bootstrap::mirrors_source_paths_, 63 Bootstrap::mirrors_source_paths_,
64 Bootstrap::mirrors_patch_paths_), 64 Bootstrap::mirrors_patch_paths_),
65 INIT_LIBRARY(ObjectStore::kTypedData, 65 INIT_LIBRARY(ObjectStore::kTypedData,
66 typed_data, 66 typed_data,
67 Bootstrap::typed_data_source_paths_, 67 Bootstrap::typed_data_source_paths_,
68 Bootstrap::typed_data_patch_paths_), 68 Bootstrap::typed_data_patch_paths_),
69 69
70 INIT_LIBRARY(ObjectStore::kProfiler,
71 profiler,
72 Bootstrap::profiler_source_paths_,
73 Bootstrap::profiler_patch_paths_),
74
70 { ObjectStore::kNone, NULL, NULL, NULL, NULL } 75 { ObjectStore::kNone, NULL, NULL, NULL, NULL }
71 }; 76 };
72 77
73 78
74 static RawString* GetLibrarySource(const Library& lib, 79 static RawString* GetLibrarySource(const Library& lib,
75 const String& uri, 80 const String& uri,
76 bool patch) { 81 bool patch) {
77 // First check if this is a valid boot strap library and find it's index 82 // First check if this is a valid boot strap library and find it's index
78 // in the 'bootstrap_libraries' table above. 83 // in the 'bootstrap_libraries' table above.
79 intptr_t index; 84 intptr_t index;
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
307 SetupNativeResolver(); 312 SetupNativeResolver();
308 } 313 }
309 314
310 // Restore the library tag handler for the isolate. 315 // Restore the library tag handler for the isolate.
311 isolate->set_library_tag_handler(saved_tag_handler); 316 isolate->set_library_tag_handler(saved_tag_handler);
312 317
313 return error.raw(); 318 return error.raw();
314 } 319 }
315 320
316 } // namespace dart 321 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/bootstrap.h ('k') | runtime/vm/bootstrap_natives.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698