Chromium Code Reviews| Index: src/isolate.h |
| diff --git a/src/isolate.h b/src/isolate.h |
| index 36c22bbddd18f4342ed42dd3b4d11fccd4dab9f0..652a60b0b8450fa7a148571895a71e2ab190ba33 100644 |
| --- a/src/isolate.h |
| +++ b/src/isolate.h |
| @@ -1129,7 +1129,7 @@ class Isolate { |
| return reinterpret_cast<Address>(&promise_hook_); |
| } |
| void SetPromiseHook(PromiseHook hook); |
| - void RunPromiseHook(PromiseHookType type, Handle<JSPromise> promise, |
| + void RunPromiseHook(PromiseHookType type, Handle<JSObject> promise, |
|
Dan Ehrenberg
2016/12/20 22:45:18
I don't see how the promise here would not be a JS
gsathya
2016/12/20 23:47:26
You're right. I was under the wrong impression tha
|
| Handle<Object> parent); |
| // Support for dynamically disabling tail call elimination. |