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

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

Issue 3003583002: [VM, Precompiler] PoC Obfuscator (Closed)
Patch Set: Discard obfuscation map 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
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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 simple_instance_of_false_function_(Function::null()), 96 simple_instance_of_false_function_(Function::null()),
97 async_clear_thread_stack_trace_(Function::null()), 97 async_clear_thread_stack_trace_(Function::null()),
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 obfuscation_map_(Array::null()),
106 megamorphic_cache_table_(GrowableObjectArray::null()), 107 megamorphic_cache_table_(GrowableObjectArray::null()),
107 megamorphic_miss_code_(Code::null()), 108 megamorphic_miss_code_(Code::null()),
108 megamorphic_miss_function_(Function::null()) { 109 megamorphic_miss_function_(Function::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
(...skipping 191 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

Powered by Google App Engine
This is Rietveld 408576698