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

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

Issue 2575313002: [promisehook] Implement PromiseHook (Closed)
Patch Set: remove promise_hook_enabled_ Created 4 years 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 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/builtins/builtins.h" 9 #include "src/builtins/builtins.h"
10 #include "src/counters.h" 10 #include "src/counters.h"
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 .address(), 244 .address(),
245 "Isolate::is_tail_call_elimination_enabled_address()"); 245 "Isolate::is_tail_call_elimination_enabled_address()");
246 Add(ExternalReference::address_of_float_abs_constant().address(), 246 Add(ExternalReference::address_of_float_abs_constant().address(),
247 "float_absolute_constant"); 247 "float_absolute_constant");
248 Add(ExternalReference::address_of_float_neg_constant().address(), 248 Add(ExternalReference::address_of_float_neg_constant().address(),
249 "float_negate_constant"); 249 "float_negate_constant");
250 Add(ExternalReference::address_of_double_abs_constant().address(), 250 Add(ExternalReference::address_of_double_abs_constant().address(),
251 "double_absolute_constant"); 251 "double_absolute_constant");
252 Add(ExternalReference::address_of_double_neg_constant().address(), 252 Add(ExternalReference::address_of_double_neg_constant().address(),
253 "double_negate_constant"); 253 "double_negate_constant");
254 Add(ExternalReference::is_promisehook_enabled_address(isolate).address(), 254 Add(ExternalReference::promise_hook_address(isolate).address(),
255 "Isolate::is_promisehook_enabled_address()"); 255 "Isolate::promise_hook_address()");
256 256
257 // Debug addresses 257 // Debug addresses
258 Add(ExternalReference::debug_after_break_target_address(isolate).address(), 258 Add(ExternalReference::debug_after_break_target_address(isolate).address(),
259 "Debug::after_break_target_address()"); 259 "Debug::after_break_target_address()");
260 Add(ExternalReference::debug_is_active_address(isolate).address(), 260 Add(ExternalReference::debug_is_active_address(isolate).address(),
261 "Debug::is_active_address()"); 261 "Debug::is_active_address()");
262 Add(ExternalReference::debug_last_step_action_address(isolate).address(), 262 Add(ExternalReference::debug_last_step_action_address(isolate).address(),
263 "Debug::step_in_enabled_address()"); 263 "Debug::step_in_enabled_address()");
264 Add(ExternalReference::debug_suspended_generator_address(isolate).address(), 264 Add(ExternalReference::debug_suspended_generator_address(isolate).address(),
265 "Debug::step_suspended_generator_address()"); 265 "Debug::step_suspended_generator_address()");
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
443 while (*api_external_references != 0) { 443 while (*api_external_references != 0) {
444 Address address = reinterpret_cast<Address>(*api_external_references); 444 Address address = reinterpret_cast<Address>(*api_external_references);
445 Add(address, ResolveSymbol(address)); 445 Add(address, ResolveSymbol(address));
446 api_external_references++; 446 api_external_references++;
447 } 447 }
448 } 448 }
449 } 449 }
450 450
451 } // namespace internal 451 } // namespace internal
452 } // namespace v8 452 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698