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

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

Issue 11437028: Added Uint8ClampedList. COmpielr optimziations to follow in next CL. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years 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) 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/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 int8_array_class_(Class::null()), 42 int8_array_class_(Class::null()),
43 uint8_array_class_(Class::null()), 43 uint8_array_class_(Class::null()),
44 uint8_clamped_array_class_(Class::null()),
44 int16_array_class_(Class::null()), 45 int16_array_class_(Class::null()),
45 uint16_array_class_(Class::null()), 46 uint16_array_class_(Class::null()),
46 int32_array_class_(Class::null()), 47 int32_array_class_(Class::null()),
47 uint32_array_class_(Class::null()), 48 uint32_array_class_(Class::null()),
48 int64_array_class_(Class::null()), 49 int64_array_class_(Class::null()),
49 uint64_array_class_(Class::null()), 50 uint64_array_class_(Class::null()),
50 float32_array_class_(Class::null()), 51 float32_array_class_(Class::null()),
51 float64_array_class_(Class::null()), 52 float64_array_class_(Class::null()),
52 external_int8_array_class_(Class::null()), 53 external_int8_array_class_(Class::null()),
53 external_uint8_array_class_(Class::null()), 54 external_uint8_array_class_(Class::null()),
55 external_uint8_clamped_array_class_(Class::null()),
54 external_int16_array_class_(Class::null()), 56 external_int16_array_class_(Class::null()),
55 external_uint16_array_class_(Class::null()), 57 external_uint16_array_class_(Class::null()),
56 external_int32_array_class_(Class::null()), 58 external_int32_array_class_(Class::null()),
57 external_uint32_array_class_(Class::null()), 59 external_uint32_array_class_(Class::null()),
58 external_int64_array_class_(Class::null()), 60 external_int64_array_class_(Class::null()),
59 external_uint64_array_class_(Class::null()), 61 external_uint64_array_class_(Class::null()),
60 external_float32_array_class_(Class::null()), 62 external_float32_array_class_(Class::null()),
61 external_float64_array_class_(Class::null()), 63 external_float64_array_class_(Class::null()),
62 stacktrace_class_(Class::null()), 64 stacktrace_class_(Class::null()),
63 jsregexp_class_(Class::null()), 65 jsregexp_class_(Class::null()),
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 void ObjectStore::InitKeywordTable() { 134 void ObjectStore::InitKeywordTable() {
133 // Set up the keywords symbol array so that we can access it while scanning. 135 // Set up the keywords symbol array so that we can access it while scanning.
134 Array& keywords = Array::Handle(keyword_symbols()); 136 Array& keywords = Array::Handle(keyword_symbols());
135 ASSERT(keywords.IsNull()); 137 ASSERT(keywords.IsNull());
136 keywords = Array::New(Token::numKeywords, Heap::kOld); 138 keywords = Array::New(Token::numKeywords, Heap::kOld);
137 ASSERT(!keywords.IsError() && !keywords.IsNull()); 139 ASSERT(!keywords.IsError() && !keywords.IsNull());
138 set_keyword_symbols(keywords); 140 set_keyword_symbols(keywords);
139 } 141 }
140 142
141 } // namespace dart 143 } // 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