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

Side by Side Diff: vm/object_store.cc

Issue 8537023: Implement automatic loading of dart:core_native_fields library (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: '' Created 9 years, 1 month 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) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, 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/isolate.h" 7 #include "vm/isolate.h"
8 #include "vm/object.h" 8 #include "vm/object.h"
9 #include "vm/raw_object.h" 9 #include "vm/raw_object.h"
10 #include "vm/visitor.h" 10 #include "vm/visitor.h"
(...skipping 21 matching lines...) Expand all
32 immutable_array_class_(Class::null()), 32 immutable_array_class_(Class::null()),
33 unhandled_exception_class_(Class::null()), 33 unhandled_exception_class_(Class::null()),
34 stacktrace_class_(Class::null()), 34 stacktrace_class_(Class::null()),
35 jsregexp_class_(Class::null()), 35 jsregexp_class_(Class::null()),
36 true_value_(Bool::null()), 36 true_value_(Bool::null()),
37 false_value_(Bool::null()), 37 false_value_(Bool::null()),
38 empty_array_(Array::null()), 38 empty_array_(Array::null()),
39 symbol_table_(Array::null()), 39 symbol_table_(Array::null()),
40 core_library_(Library::null()), 40 core_library_(Library::null()),
41 core_impl_library_(Library::null()), 41 core_impl_library_(Library::null()),
42 native_wrappers_library_(Library::null()),
42 root_library_(Library::null()), 43 root_library_(Library::null()),
43 registered_libraries_(Library::null()), 44 registered_libraries_(Library::null()),
44 pending_classes_(Array::null()), 45 pending_classes_(Array::null()),
45 sticky_error_(String::null()), 46 sticky_error_(String::null()),
46 empty_context_(Context::null()) { 47 empty_context_(Context::null()) {
47 } 48 }
48 49
49 50
50 ObjectStore::~ObjectStore() { 51 ObjectStore::~ObjectStore() {
51 } 52 }
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 return kBoolInterface; 165 return kBoolInterface;
165 } else if (raw_type == string_interface()) { 166 } else if (raw_type == string_interface()) {
166 return kStringInterface; 167 return kStringInterface;
167 } else if (raw_type == list_interface()) { 168 } else if (raw_type == list_interface()) {
168 return kListInterface; 169 return kListInterface;
169 } 170 }
170 return kInvalidIndex; 171 return kInvalidIndex;
171 } 172 }
172 173
173 } // namespace dart 174 } // namespace dart
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698