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

Side by Side Diff: src/external-reference-table.cc

Issue 1837513002: [es6] Add a flag to the Isolate that defines whether ES2015 tail call elimination is enabled or not. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: New changes Created 4 years, 9 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/assembler.cc ('k') | src/ia32/builtins-ia32.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 2016 the V8 project authors. All rights reserved. 1 // Copyright 2016 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 #include "src/external-reference-table.h" 5 #include "src/external-reference-table.h"
6 6
7 #include "src/accessors.h" 7 #include "src/accessors.h"
8 #include "src/assembler.h" 8 #include "src/assembler.h"
9 #include "src/counters.h" 9 #include "src/counters.h"
10 #include "src/deoptimizer.h" 10 #include "src/deoptimizer.h"
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 Add(ExternalReference::address_of_minus_one_half().address(), 165 Add(ExternalReference::address_of_minus_one_half().address(),
166 "double_constants.minus_one_half"); 166 "double_constants.minus_one_half");
167 Add(ExternalReference::stress_deopt_count(isolate).address(), 167 Add(ExternalReference::stress_deopt_count(isolate).address(),
168 "Isolate::stress_deopt_count_address()"); 168 "Isolate::stress_deopt_count_address()");
169 Add(ExternalReference::virtual_handler_register(isolate).address(), 169 Add(ExternalReference::virtual_handler_register(isolate).address(),
170 "Isolate::virtual_handler_register()"); 170 "Isolate::virtual_handler_register()");
171 Add(ExternalReference::virtual_slot_register(isolate).address(), 171 Add(ExternalReference::virtual_slot_register(isolate).address(),
172 "Isolate::virtual_slot_register()"); 172 "Isolate::virtual_slot_register()");
173 Add(ExternalReference::runtime_function_table_address(isolate).address(), 173 Add(ExternalReference::runtime_function_table_address(isolate).address(),
174 "Runtime::runtime_function_table_address()"); 174 "Runtime::runtime_function_table_address()");
175 Add(ExternalReference::is_tail_call_elimination_enabled_address(isolate)
176 .address(),
177 "Isolate::is_tail_call_elimination_enabled_address()");
175 178
176 // Debug addresses 179 // Debug addresses
177 Add(ExternalReference::debug_after_break_target_address(isolate).address(), 180 Add(ExternalReference::debug_after_break_target_address(isolate).address(),
178 "Debug::after_break_target_address()"); 181 "Debug::after_break_target_address()");
179 Add(ExternalReference::debug_is_active_address(isolate).address(), 182 Add(ExternalReference::debug_is_active_address(isolate).address(),
180 "Debug::is_active_address()"); 183 "Debug::is_active_address()");
181 Add(ExternalReference::debug_step_in_enabled_address(isolate).address(), 184 Add(ExternalReference::debug_step_in_enabled_address(isolate).address(),
182 "Debug::step_in_enabled_address()"); 185 "Debug::step_in_enabled_address()");
183 186
184 #ifndef V8_INTERPRETED_REGEXP 187 #ifndef V8_INTERPRETED_REGEXP
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
344 for (int entry = 0; entry < kDeoptTableSerializeEntryCount; ++entry) { 347 for (int entry = 0; entry < kDeoptTableSerializeEntryCount; ++entry) {
345 Address address = Deoptimizer::GetDeoptimizationEntry( 348 Address address = Deoptimizer::GetDeoptimizationEntry(
346 isolate, entry, Deoptimizer::LAZY, 349 isolate, entry, Deoptimizer::LAZY,
347 Deoptimizer::CALCULATE_ENTRY_ADDRESS); 350 Deoptimizer::CALCULATE_ENTRY_ADDRESS);
348 Add(address, "lazy_deopt"); 351 Add(address, "lazy_deopt");
349 } 352 }
350 } 353 }
351 354
352 } // namespace internal 355 } // namespace internal
353 } // namespace v8 356 } // namespace v8
OLDNEW
« no previous file with comments | « src/assembler.cc ('k') | src/ia32/builtins-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698