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

Side by Side Diff: src/isolate.h

Issue 1340123002: Revert of VectorICs: ia32 store ics need a virtual register. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 3 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 | « src/ic/ia32/stub-cache-ia32.cc ('k') | src/isolate.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_ISOLATE_H_ 5 #ifndef V8_ISOLATE_H_
6 #define V8_ISOLATE_H_ 6 #define V8_ISOLATE_H_
7 7
8 #include <queue> 8 #include <queue>
9 #include <set> 9 #include <set>
10 10
(...skipping 1006 matching lines...) Expand 10 before | Expand all | Expand 10 after
1017 1017
1018 void DumpAndResetCompilationStats(); 1018 void DumpAndResetCompilationStats();
1019 1019
1020 FunctionEntryHook function_entry_hook() { return function_entry_hook_; } 1020 FunctionEntryHook function_entry_hook() { return function_entry_hook_; }
1021 void set_function_entry_hook(FunctionEntryHook function_entry_hook) { 1021 void set_function_entry_hook(FunctionEntryHook function_entry_hook) {
1022 function_entry_hook_ = function_entry_hook; 1022 function_entry_hook_ = function_entry_hook;
1023 } 1023 }
1024 1024
1025 void* stress_deopt_count_address() { return &stress_deopt_count_; } 1025 void* stress_deopt_count_address() { return &stress_deopt_count_; }
1026 1026
1027 void* vector_store_virtual_register_address() {
1028 return &vector_store_virtual_register_;
1029 }
1030
1031 base::RandomNumberGenerator* random_number_generator(); 1027 base::RandomNumberGenerator* random_number_generator();
1032 1028
1033 // Given an address occupied by a live code object, return that object. 1029 // Given an address occupied by a live code object, return that object.
1034 Object* FindCodeObject(Address a); 1030 Object* FindCodeObject(Address a);
1035 1031
1036 int NextOptimizationId() { 1032 int NextOptimizationId() {
1037 int id = next_optimization_id_++; 1033 int id = next_optimization_id_++;
1038 if (!Smi::IsValid(next_optimization_id_)) { 1034 if (!Smi::IsValid(next_optimization_id_)) {
1039 next_optimization_id_ = 0; 1035 next_optimization_id_ = 0;
1040 } 1036 }
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
1296 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET) 1292 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET)
1297 #undef ISOLATE_FIELD_OFFSET 1293 #undef ISOLATE_FIELD_OFFSET
1298 #endif 1294 #endif
1299 1295
1300 DeferredHandles* deferred_handles_head_; 1296 DeferredHandles* deferred_handles_head_;
1301 OptimizingCompileDispatcher* optimizing_compile_dispatcher_; 1297 OptimizingCompileDispatcher* optimizing_compile_dispatcher_;
1302 1298
1303 // Counts deopt points if deopt_every_n_times is enabled. 1299 // Counts deopt points if deopt_every_n_times is enabled.
1304 unsigned int stress_deopt_count_; 1300 unsigned int stress_deopt_count_;
1305 1301
1306 Address vector_store_virtual_register_;
1307
1308 int next_optimization_id_; 1302 int next_optimization_id_;
1309 1303
1310 #if TRACE_MAPS 1304 #if TRACE_MAPS
1311 int next_unique_sfi_id_; 1305 int next_unique_sfi_id_;
1312 #endif 1306 #endif
1313 1307
1314 // List of callbacks when a Call completes. 1308 // List of callbacks when a Call completes.
1315 List<CallCompletedCallback> call_completed_callbacks_; 1309 List<CallCompletedCallback> call_completed_callbacks_;
1316 1310
1317 v8::Isolate::UseCounterCallback use_counter_callback_; 1311 v8::Isolate::UseCounterCallback use_counter_callback_;
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
1546 } 1540 }
1547 1541
1548 EmbeddedVector<char, 128> filename_; 1542 EmbeddedVector<char, 128> filename_;
1549 FILE* file_; 1543 FILE* file_;
1550 int scope_depth_; 1544 int scope_depth_;
1551 }; 1545 };
1552 1546
1553 } } // namespace v8::internal 1547 } } // namespace v8::internal
1554 1548
1555 #endif // V8_ISOLATE_H_ 1549 #endif // V8_ISOLATE_H_
OLDNEW
« no previous file with comments | « src/ic/ia32/stub-cache-ia32.cc ('k') | src/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698