Index: src/runtime/runtime-debug.cc |
diff --git a/src/runtime/runtime-debug.cc b/src/runtime/runtime-debug.cc |
index d885450a47e62af144c48f5a84ec35f50671b65e..e101f6a3db88cea9d7c1f6c239d75c40581e9d40 100644 |
--- a/src/runtime/runtime-debug.cc |
+++ b/src/runtime/runtime-debug.cc |
@@ -1754,11 +1754,10 @@ RUNTIME_FUNCTION(Runtime_DebugRecordAsyncFunction) { |
} |
RUNTIME_FUNCTION(Runtime_DebugPushPromise) { |
- DCHECK(args.length() == 2); |
+ DCHECK(args.length() == 1); |
HandleScope scope(isolate); |
CONVERT_ARG_HANDLE_CHECKED(JSObject, promise, 0); |
- CONVERT_ARG_HANDLE_CHECKED(JSFunction, function, 1); |
- isolate->PushPromise(promise, function); |
+ isolate->PushPromise(promise); |
return isolate->heap()->undefined_value(); |
} |