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

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

Issue 23554004: Made old dart:json library use convert to parse JSON. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Addres review comments. Created 7 years, 3 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/vm.gypi » ('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 23 matching lines...) Expand all
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::kAsync, 37 INIT_LIBRARY(ObjectStore::kAsync,
38 async, 38 async,
39 Bootstrap::async_source_paths_, 39 Bootstrap::async_source_paths_,
40 Bootstrap::async_patch_paths_), 40 Bootstrap::async_patch_paths_),
41 INIT_LIBRARY(ObjectStore::kConvert, 41 INIT_LIBRARY(ObjectStore::kConvert,
42 convert, 42 convert,
43 Bootstrap::convert_source_paths_, 43 Bootstrap::convert_source_paths_,
44 NULL), 44 Bootstrap::convert_patch_paths_),
45 INIT_LIBRARY(ObjectStore::kCollection, 45 INIT_LIBRARY(ObjectStore::kCollection,
46 collection, 46 collection,
47 Bootstrap::collection_source_paths_, 47 Bootstrap::collection_source_paths_,
48 Bootstrap::collection_patch_paths_), 48 Bootstrap::collection_patch_paths_),
49 INIT_LIBRARY(ObjectStore::kCollectionDev, 49 INIT_LIBRARY(ObjectStore::kCollectionDev,
50 _collection-dev, 50 _collection-dev,
51 Bootstrap::collection_dev_source_paths_, 51 Bootstrap::collection_dev_source_paths_,
52 Bootstrap::collection_dev_patch_paths_), 52 Bootstrap::collection_dev_patch_paths_),
53 INIT_LIBRARY(ObjectStore::kIsolate, 53 INIT_LIBRARY(ObjectStore::kIsolate,
54 isolate, 54 isolate,
55 Bootstrap::isolate_source_paths_, 55 Bootstrap::isolate_source_paths_,
56 Bootstrap::isolate_patch_paths_), 56 Bootstrap::isolate_patch_paths_),
57 INIT_LIBRARY(ObjectStore::kJson, 57 INIT_LIBRARY(ObjectStore::kJson,
58 json, 58 json,
59 Bootstrap::json_source_paths_, 59 Bootstrap::json_source_paths_,
60 Bootstrap::json_patch_paths_), 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::kTypedData, 69 INIT_LIBRARY(ObjectStore::kTypedData,
70 typed_data, 70 typed_data,
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
320 // Exit the Dart scope. 320 // Exit the Dart scope.
321 Dart_ExitScope(); 321 Dart_ExitScope();
322 322
323 // Restore the library tag handler for the isolate. 323 // Restore the library tag handler for the isolate.
324 isolate->set_library_tag_handler(saved_tag_handler); 324 isolate->set_library_tag_handler(saved_tag_handler);
325 325
326 return error.raw(); 326 return error.raw();
327 } 327 }
328 328
329 } // namespace dart 329 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/bootstrap.h ('k') | runtime/vm/vm.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698