Index: src/runtime/runtime-internal.cc |
diff --git a/src/runtime/runtime-internal.cc b/src/runtime/runtime-internal.cc |
index 6896670cc99662cccfe56d7f04e7f78d8cd450e9..26882b5c83b08896152142eaabc83485c339778e 100644 |
--- a/src/runtime/runtime-internal.cc |
+++ b/src/runtime/runtime-internal.cc |
@@ -558,7 +558,7 @@ RUNTIME_FUNCTION(Runtime_EnqueuePromiseResolveThenableJob) { |
HandleScope scope(isolate); |
DCHECK(args.length() == 6); |
CONVERT_ARG_HANDLE_CHECKED(JSReceiver, resolution, 0); |
- CONVERT_ARG_HANDLE_CHECKED(JSFunction, then, 1); |
+ 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); |