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

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

Issue 32683002: Add empty dart:platform library. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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.cc » ('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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 Bootstrap::json_source_paths_, 59 Bootstrap::json_source_paths_,
60 NULL), 60 NULL),
61 INIT_LIBRARY(ObjectStore::kMath, 61 INIT_LIBRARY(ObjectStore::kMath,
62 math, 62 math,
63 Bootstrap::math_source_paths_, 63 Bootstrap::math_source_paths_,
64 Bootstrap::math_patch_paths_), 64 Bootstrap::math_patch_paths_),
65 INIT_LIBRARY(ObjectStore::kMirrors, 65 INIT_LIBRARY(ObjectStore::kMirrors,
66 mirrors, 66 mirrors,
67 Bootstrap::mirrors_source_paths_, 67 Bootstrap::mirrors_source_paths_,
68 Bootstrap::mirrors_patch_paths_), 68 Bootstrap::mirrors_patch_paths_),
69 INIT_LIBRARY(ObjectStore::kPlatform,
70 platform,
71 Bootstrap::platform_source_paths_,
72 Bootstrap::platform_patch_paths_),
69 INIT_LIBRARY(ObjectStore::kTypedData, 73 INIT_LIBRARY(ObjectStore::kTypedData,
70 typed_data, 74 typed_data,
71 Bootstrap::typed_data_source_paths_, 75 Bootstrap::typed_data_source_paths_,
72 Bootstrap::typed_data_patch_paths_), 76 Bootstrap::typed_data_patch_paths_),
73 INIT_LIBRARY(ObjectStore::kUtf, 77 INIT_LIBRARY(ObjectStore::kUtf,
74 utf, 78 utf,
75 Bootstrap::utf_source_paths_, 79 Bootstrap::utf_source_paths_,
76 NULL), 80 NULL),
77 81
78 { ObjectStore::kNone, NULL, NULL, NULL, NULL } 82 { ObjectStore::kNone, NULL, NULL, NULL, NULL }
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
320 // Exit the Dart scope. 324 // Exit the Dart scope.
321 Dart_ExitScope(); 325 Dart_ExitScope();
322 326
323 // Restore the library tag handler for the isolate. 327 // Restore the library tag handler for the isolate.
324 isolate->set_library_tag_handler(saved_tag_handler); 328 isolate->set_library_tag_handler(saved_tag_handler);
325 329
326 return error.raw(); 330 return error.raw();
327 } 331 }
328 332
329 } // namespace dart 333 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/bootstrap.h ('k') | runtime/vm/bootstrap_natives.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698