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

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

Issue 13139002: Remove support for 'dart:scalarlist' in the Dart VM. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 9 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) 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 23 matching lines...) Expand all
34 external_two_byte_string_class_(Class::null()), 34 external_two_byte_string_class_(Class::null()),
35 bool_type_(Type::null()), 35 bool_type_(Type::null()),
36 bool_class_(Class::null()), 36 bool_class_(Class::null()),
37 list_class_(Class::null()), 37 list_class_(Class::null()),
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 int8_array_class_(Class::null()),
45 uint8_array_class_(Class::null()),
46 uint8_clamped_array_class_(Class::null()),
47 int16_array_class_(Class::null()),
48 uint16_array_class_(Class::null()),
49 int32_array_class_(Class::null()),
50 uint32_array_class_(Class::null()),
51 int64_array_class_(Class::null()),
52 uint64_array_class_(Class::null()),
53 float32_array_class_(Class::null()),
54 float64_array_class_(Class::null()),
55 external_int8_array_class_(Class::null()),
56 external_uint8_array_class_(Class::null()),
57 external_uint8_clamped_array_class_(Class::null()),
58 external_int16_array_class_(Class::null()),
59 external_uint16_array_class_(Class::null()),
60 external_int32_array_class_(Class::null()),
61 external_uint32_array_class_(Class::null()),
62 external_int64_array_class_(Class::null()),
63 external_uint64_array_class_(Class::null()),
64 external_float32_array_class_(Class::null()),
65 external_float64_array_class_(Class::null()),
66 typeddata_classes_(Array::null()), 44 typeddata_classes_(Array::null()),
67 stacktrace_class_(Class::null()), 45 stacktrace_class_(Class::null()),
68 jsregexp_class_(Class::null()), 46 jsregexp_class_(Class::null()),
69 weak_property_class_(Class::null()), 47 weak_property_class_(Class::null()),
70 symbol_table_(Array::null()), 48 symbol_table_(Array::null()),
71 canonical_type_arguments_(Array::null()), 49 canonical_type_arguments_(Array::null()),
72 async_library_(Library::null()), 50 async_library_(Library::null()),
73 builtin_library_(Library::null()), 51 builtin_library_(Library::null()),
74 core_library_(Library::null()), 52 core_library_(Library::null()),
75 core_impl_library_(Library::null()), 53 core_impl_library_(Library::null()),
76 crypto_library_(Library::null()), 54 crypto_library_(Library::null()),
77 isolate_library_(Library::null()), 55 isolate_library_(Library::null()),
78 json_library_(Library::null()), 56 json_library_(Library::null()),
79 math_library_(Library::null()), 57 math_library_(Library::null()),
80 mirrors_library_(Library::null()), 58 mirrors_library_(Library::null()),
81 native_wrappers_library_(Library::null()), 59 native_wrappers_library_(Library::null()),
82 root_library_(Library::null()), 60 root_library_(Library::null()),
83 scalarlist_library_(Library::null()),
84 typeddata_library_(Library::null()), 61 typeddata_library_(Library::null()),
85 uri_library_(Library::null()), 62 uri_library_(Library::null()),
86 utf_library_(Library::null()), 63 utf_library_(Library::null()),
87 libraries_(GrowableObjectArray::null()), 64 libraries_(GrowableObjectArray::null()),
88 pending_classes_(GrowableObjectArray::null()), 65 pending_classes_(GrowableObjectArray::null()),
89 sticky_error_(Error::null()), 66 sticky_error_(Error::null()),
90 unhandled_exception_handler_(String::null()), 67 unhandled_exception_handler_(String::null()),
91 empty_context_(Context::null()), 68 empty_context_(Context::null()),
92 stack_overflow_(Instance::null()), 69 stack_overflow_(Instance::null()),
93 out_of_memory_(Instance::null()), 70 out_of_memory_(Instance::null()),
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 void ObjectStore::InitKeywordTable() { 139 void ObjectStore::InitKeywordTable() {
163 // Set up the keywords symbol array so that we can access it while scanning. 140 // Set up the keywords symbol array so that we can access it while scanning.
164 Array& keywords = Array::Handle(keyword_symbols()); 141 Array& keywords = Array::Handle(keyword_symbols());
165 ASSERT(keywords.IsNull()); 142 ASSERT(keywords.IsNull());
166 keywords = Array::New(Token::numKeywords, Heap::kOld); 143 keywords = Array::New(Token::numKeywords, Heap::kOld);
167 ASSERT(!keywords.IsError() && !keywords.IsNull()); 144 ASSERT(!keywords.IsError() && !keywords.IsNull());
168 set_keyword_symbols(keywords); 145 set_keyword_symbols(keywords);
169 } 146 }
170 147
171 } // namespace dart 148 } // namespace dart
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698