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

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

Issue 3003583002: [VM, Precompiler] PoC Obfuscator (Closed)
Patch Set: Fix bad refactoring in NewAtomicRename Created 3 years, 4 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
« no previous file with comments | « runtime/vm/object_store.h ('k') | runtime/vm/parser.h » ('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/dart_entry.h" 7 #include "vm/dart_entry.h"
8 #include "vm/exceptions.h" 8 #include "vm/exceptions.h"
9 #include "vm/isolate.h" 9 #include "vm/isolate.h"
10 #include "vm/object.h" 10 #include "vm/object.h"
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 async_set_thread_stack_trace_(Function::null()), 98 async_set_thread_stack_trace_(Function::null()),
99 async_star_move_next_helper_(Function::null()), 99 async_star_move_next_helper_(Function::null()),
100 complete_on_async_return_(Function::null()), 100 complete_on_async_return_(Function::null()),
101 async_star_stream_controller_(Class::null()), 101 async_star_stream_controller_(Class::null()),
102 library_load_error_table_(Array::null()), 102 library_load_error_table_(Array::null()),
103 unique_dynamic_targets_(Array::null()), 103 unique_dynamic_targets_(Array::null()),
104 token_objects_(GrowableObjectArray::null()), 104 token_objects_(GrowableObjectArray::null()),
105 token_objects_map_(Array::null()), 105 token_objects_map_(Array::null()),
106 megamorphic_cache_table_(GrowableObjectArray::null()), 106 megamorphic_cache_table_(GrowableObjectArray::null()),
107 megamorphic_miss_code_(Code::null()), 107 megamorphic_miss_code_(Code::null()),
108 megamorphic_miss_function_(Function::null()) { 108 megamorphic_miss_function_(Function::null()),
109 obfuscation_map_(Array::null()) {
109 for (RawObject** current = from(); current <= to(); current++) { 110 for (RawObject** current = from(); current <= to(); current++) {
110 ASSERT(*current == Object::null()); 111 ASSERT(*current == Object::null());
111 } 112 }
112 } 113 }
113 114
114 ObjectStore::~ObjectStore() {} 115 ObjectStore::~ObjectStore() {}
115 116
116 void ObjectStore::VisitObjectPointers(ObjectPointerVisitor* visitor) { 117 void ObjectStore::VisitObjectPointers(ObjectPointerVisitor* visitor) {
117 ASSERT(visitor != NULL); 118 ASSERT(visitor != NULL);
118 visitor->VisitPointers(from(), to()); 119 visitor->VisitPointers(from(), to());
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
307 simple_instance_of_function_ = 308 simple_instance_of_function_ =
308 PrivateObjectLookup(Symbols::_simpleInstanceOf()); 309 PrivateObjectLookup(Symbols::_simpleInstanceOf());
309 simple_instance_of_true_function_ = 310 simple_instance_of_true_function_ =
310 PrivateObjectLookup(Symbols::_simpleInstanceOfTrue()); 311 PrivateObjectLookup(Symbols::_simpleInstanceOfTrue());
311 simple_instance_of_false_function_ = 312 simple_instance_of_false_function_ =
312 PrivateObjectLookup(Symbols::_simpleInstanceOfFalse()); 313 PrivateObjectLookup(Symbols::_simpleInstanceOfFalse());
313 #endif 314 #endif
314 } 315 }
315 316
316 } // namespace dart 317 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/object_store.h ('k') | runtime/vm/parser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698