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

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

Issue 27523002: Add "deprecated" to the standard 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
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 16 matching lines...) Expand all
27 const char* patch_uri_; 27 const char* patch_uri_;
28 const char** patch_paths_; 28 const char** patch_paths_;
29 } bootstrap_lib_props; 29 } bootstrap_lib_props;
30 30
31 31
32 static bootstrap_lib_props bootstrap_libraries[] = { 32 static bootstrap_lib_props bootstrap_libraries[] = {
33 INIT_LIBRARY(ObjectStore::kCore, 33 INIT_LIBRARY(ObjectStore::kCore,
34 core, 34 core,
35 Bootstrap::corelib_source_paths_, 35 Bootstrap::corelib_source_paths_,
36 Bootstrap::corelib_patch_paths_), 36 Bootstrap::corelib_patch_paths_),
37 INIT_LIBRARY(ObjectStore::kAnnotation,
38 annotation,
39 Bootstrap::annotation_source_paths_,
40 NULL),
37 INIT_LIBRARY(ObjectStore::kAsync, 41 INIT_LIBRARY(ObjectStore::kAsync,
38 async, 42 async,
39 Bootstrap::async_source_paths_, 43 Bootstrap::async_source_paths_,
40 Bootstrap::async_patch_paths_), 44 Bootstrap::async_patch_paths_),
41 INIT_LIBRARY(ObjectStore::kConvert, 45 INIT_LIBRARY(ObjectStore::kConvert,
42 convert, 46 convert,
43 Bootstrap::convert_source_paths_, 47 Bootstrap::convert_source_paths_,
44 Bootstrap::convert_patch_paths_), 48 Bootstrap::convert_patch_paths_),
45 INIT_LIBRARY(ObjectStore::kCollection, 49 INIT_LIBRARY(ObjectStore::kCollection,
46 collection, 50 collection,
(...skipping 273 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

Powered by Google App Engine
This is Rietveld 408576698