Index: src/runtime/runtime-internal.cc |
diff --git a/src/runtime/runtime-internal.cc b/src/runtime/runtime-internal.cc |
index 802893c79fb2132ae96fcafdb263b891c42fb0aa..f1b219e4c7e4871d367e6c2f468ca6dce720c514 100644 |
--- a/src/runtime/runtime-internal.cc |
+++ b/src/runtime/runtime-internal.cc |
@@ -577,12 +577,11 @@ RUNTIME_FUNCTION(Runtime_EnqueuePromiseReactionJob) { |
CONVERT_ARG_HANDLE_CHECKED(Object, value, 0); |
CONVERT_ARG_HANDLE_CHECKED(Object, tasks, 1); |
CONVERT_ARG_HANDLE_CHECKED(Object, deferred, 2); |
- CONVERT_ARG_HANDLE_CHECKED(Object, before_debug_event, 3); |
- CONVERT_ARG_HANDLE_CHECKED(Object, after_debug_event, 4); |
+ CONVERT_ARG_HANDLE_CHECKED(Object, id, 3); |
+ CONVERT_ARG_HANDLE_CHECKED(Object, name, 4); |
Handle<PromiseReactionJobInfo> info = |
isolate->factory()->NewPromiseReactionJobInfo( |
- value, tasks, deferred, before_debug_event, after_debug_event, |
- isolate->native_context()); |
+ value, tasks, deferred, id, name, isolate->native_context()); |
isolate->EnqueueMicrotask(info); |
return isolate->heap()->undefined_value(); |
} |
@@ -594,12 +593,11 @@ RUNTIME_FUNCTION(Runtime_EnqueuePromiseResolveThenableJob) { |
CONVERT_ARG_HANDLE_CHECKED(JSReceiver, then, 1); |
CONVERT_ARG_HANDLE_CHECKED(JSFunction, resolve, 2); |
CONVERT_ARG_HANDLE_CHECKED(JSFunction, reject, 3); |
- CONVERT_ARG_HANDLE_CHECKED(Object, before_debug_event, 4); |
- CONVERT_ARG_HANDLE_CHECKED(Object, after_debug_event, 5); |
+ CONVERT_ARG_HANDLE_CHECKED(Object, id, 4); |
+ CONVERT_ARG_HANDLE_CHECKED(Object, name, 5); |
Handle<PromiseResolveThenableJobInfo> info = |
isolate->factory()->NewPromiseResolveThenableJobInfo( |
- resolution, then, resolve, reject, before_debug_event, |
- after_debug_event); |
+ resolution, then, resolve, reject, id, name); |
isolate->EnqueueMicrotask(info); |
return isolate->heap()->undefined_value(); |
} |