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

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

Issue 1790593002: Move the VM's typed_data implementation to runtime/lib. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 9 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
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/class_finalizer.h" 10 #include "vm/class_finalizer.h"
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 mirrors, 75 mirrors,
76 Bootstrap::mirrors_source_paths_, 76 Bootstrap::mirrors_source_paths_,
77 Bootstrap::mirrors_patch_paths_), 77 Bootstrap::mirrors_patch_paths_),
78 INIT_LIBRARY(ObjectStore::kProfiler, 78 INIT_LIBRARY(ObjectStore::kProfiler,
79 profiler, 79 profiler,
80 Bootstrap::profiler_source_paths_, 80 Bootstrap::profiler_source_paths_,
81 NULL), 81 NULL),
82 INIT_LIBRARY(ObjectStore::kTypedData, 82 INIT_LIBRARY(ObjectStore::kTypedData,
83 typed_data, 83 typed_data,
84 Bootstrap::typed_data_source_paths_, 84 Bootstrap::typed_data_source_paths_,
85 Bootstrap::typed_data_patch_paths_), 85 NULL),
86 INIT_LIBRARY(ObjectStore::kVMService, 86 INIT_LIBRARY(ObjectStore::kVMService,
87 _vmservice, 87 _vmservice,
88 Bootstrap::_vmservice_source_paths_, 88 Bootstrap::_vmservice_source_paths_,
89 Bootstrap::_vmservice_patch_paths_), 89 Bootstrap::_vmservice_patch_paths_),
90 { ObjectStore::kNone, NULL, NULL, NULL, NULL } 90 { ObjectStore::kNone, NULL, NULL, NULL, NULL }
91 }; 91 };
92 92
93 93
94 static RawString* GetLibrarySource(const Library& lib, 94 static RawString* GetLibrarySource(const Library& lib,
95 const String& uri, 95 const String& uri,
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
360 Compiler::CompileClass(cls); 360 Compiler::CompileClass(cls);
361 } 361 }
362 362
363 // Restore the library tag handler for the isolate. 363 // Restore the library tag handler for the isolate.
364 isolate->set_library_tag_handler(saved_tag_handler); 364 isolate->set_library_tag_handler(saved_tag_handler);
365 365
366 return error.raw(); 366 return error.raw();
367 } 367 }
368 368
369 } // namespace dart 369 } // namespace dart
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698