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

Side by Side Diff: src/isolate.h

Issue 1346573002: Reland 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
1027 base::RandomNumberGenerator* random_number_generator(); 1031 base::RandomNumberGenerator* random_number_generator();
1028 1032
1029 // Given an address occupied by a live code object, return that object. 1033 // Given an address occupied by a live code object, return that object.
1030 Object* FindCodeObject(Address a); 1034 Object* FindCodeObject(Address a);
1031 1035
1032 int NextOptimizationId() { 1036 int NextOptimizationId() {
1033 int id = next_optimization_id_++; 1037 int id = next_optimization_id_++;
1034 if (!Smi::IsValid(next_optimization_id_)) { 1038 if (!Smi::IsValid(next_optimization_id_)) {
1035 next_optimization_id_ = 0; 1039 next_optimization_id_ = 0;
1036 } 1040 }
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
1292 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET) 1296 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET)
1293 #undef ISOLATE_FIELD_OFFSET 1297 #undef ISOLATE_FIELD_OFFSET
1294 #endif 1298 #endif
1295 1299
1296 DeferredHandles* deferred_handles_head_; 1300 DeferredHandles* deferred_handles_head_;
1297 OptimizingCompileDispatcher* optimizing_compile_dispatcher_; 1301 OptimizingCompileDispatcher* optimizing_compile_dispatcher_;
1298 1302
1299 // Counts deopt points if deopt_every_n_times is enabled. 1303 // Counts deopt points if deopt_every_n_times is enabled.
1300 unsigned int stress_deopt_count_; 1304 unsigned int stress_deopt_count_;
1301 1305
1306 Address vector_store_virtual_register_;
1307
1302 int next_optimization_id_; 1308 int next_optimization_id_;
1303 1309
1304 #if TRACE_MAPS 1310 #if TRACE_MAPS
1305 int next_unique_sfi_id_; 1311 int next_unique_sfi_id_;
1306 #endif 1312 #endif
1307 1313
1308 // List of callbacks when a Call completes. 1314 // List of callbacks when a Call completes.
1309 List<CallCompletedCallback> call_completed_callbacks_; 1315 List<CallCompletedCallback> call_completed_callbacks_;
1310 1316
1311 v8::Isolate::UseCounterCallback use_counter_callback_; 1317 v8::Isolate::UseCounterCallback use_counter_callback_;
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
1540 } 1546 }
1541 1547
1542 EmbeddedVector<char, 128> filename_; 1548 EmbeddedVector<char, 128> filename_;
1543 FILE* file_; 1549 FILE* file_;
1544 int scope_depth_; 1550 int scope_depth_;
1545 }; 1551 };
1546 1552
1547 } } // namespace v8::internal 1553 } } // namespace v8::internal
1548 1554
1549 #endif // V8_ISOLATE_H_ 1555 #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