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

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

Issue 18242003: Add a VM defined class MirrorReference as an opaque pointer for Dart code to VM internal objects. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 5 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/object_store.h ('k') | runtime/vm/object_test.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) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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/object_store.h" 5 #include "vm/object_store.h"
6 6
7 #include "vm/exceptions.h" 7 #include "vm/exceptions.h"
8 #include "vm/isolate.h" 8 #include "vm/isolate.h"
9 #include "vm/object.h" 9 #include "vm/object.h"
10 #include "vm/raw_object.h" 10 #include "vm/raw_object.h"
(...skipping 27 matching lines...) Expand all
38 array_class_(Class::null()), 38 array_class_(Class::null()),
39 array_type_(Type::null()), 39 array_type_(Type::null()),
40 immutable_array_class_(Class::null()), 40 immutable_array_class_(Class::null()),
41 growable_object_array_class_(Class::null()), 41 growable_object_array_class_(Class::null()),
42 float32x4_class_(Class::null()), 42 float32x4_class_(Class::null()),
43 uint32x4_class_(Class::null()), 43 uint32x4_class_(Class::null()),
44 typed_data_classes_(Array::null()), 44 typed_data_classes_(Array::null()),
45 stacktrace_class_(Class::null()), 45 stacktrace_class_(Class::null()),
46 jsregexp_class_(Class::null()), 46 jsregexp_class_(Class::null()),
47 weak_property_class_(Class::null()), 47 weak_property_class_(Class::null()),
48 mirror_reference_class_(Class::null()),
48 symbol_table_(Array::null()), 49 symbol_table_(Array::null()),
49 canonical_type_arguments_(Array::null()), 50 canonical_type_arguments_(Array::null()),
50 async_library_(Library::null()), 51 async_library_(Library::null()),
51 builtin_library_(Library::null()), 52 builtin_library_(Library::null()),
52 core_library_(Library::null()), 53 core_library_(Library::null()),
53 isolate_library_(Library::null()), 54 isolate_library_(Library::null()),
54 json_library_(Library::null()), 55 json_library_(Library::null()),
55 math_library_(Library::null()), 56 math_library_(Library::null()),
56 mirrors_library_(Library::null()), 57 mirrors_library_(Library::null()),
57 native_wrappers_library_(Library::null()), 58 native_wrappers_library_(Library::null()),
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 void ObjectStore::InitKeywordTable() { 136 void ObjectStore::InitKeywordTable() {
136 // Set up the keywords symbol array so that we can access it while scanning. 137 // Set up the keywords symbol array so that we can access it while scanning.
137 Array& keywords = Array::Handle(keyword_symbols()); 138 Array& keywords = Array::Handle(keyword_symbols());
138 ASSERT(keywords.IsNull()); 139 ASSERT(keywords.IsNull());
139 keywords = Array::New(Token::numKeywords, Heap::kOld); 140 keywords = Array::New(Token::numKeywords, Heap::kOld);
140 ASSERT(!keywords.IsError() && !keywords.IsNull()); 141 ASSERT(!keywords.IsError() && !keywords.IsNull());
141 set_keyword_symbols(keywords); 142 set_keyword_symbols(keywords);
142 } 143 }
143 144
144 } // namespace dart 145 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/object_store.h ('k') | runtime/vm/object_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698