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

Unified Diff: src/code-stub-assembler.cc

Issue 2575313002: [promisehook] Implement PromiseHook (Closed)
Patch Set: add tests 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 side-by-side diff with in-line comments
Download patch
Index: src/code-stub-assembler.cc
diff --git a/src/code-stub-assembler.cc b/src/code-stub-assembler.cc
index 6d0f6e4065372e0fae1076e1e76911459873710b..4aa8a9a61345ab5438ecb1a3d76b44bcc77c2e1d 100644
--- a/src/code-stub-assembler.cc
+++ b/src/code-stub-assembler.cc
@@ -8234,11 +8234,11 @@ Node* CodeStubAssembler::IsDebugActive() {
}
Node* CodeStubAssembler::IsPromiseHookEnabled() {
- Node* const is_promisehook_enabled =
+ Node* const is_promise_hook_enabled =
Load(MachineType::Uint8(),
ExternalConstant(
- ExternalReference::is_promisehook_enabled_address(isolate())));
- return Word32NotEqual(is_promisehook_enabled, Int32Constant(0));
+ ExternalReference::is_promise_hook_enabled_address(isolate())));
+ return Word32NotEqual(is_promise_hook_enabled, Int32Constant(0));
}
Node* CodeStubAssembler::AllocateJSPromise(Node* context) {

Powered by Google App Engine
This is Rietveld 408576698