Index: src/runtime/runtime-promise.cc |
diff --git a/src/runtime/runtime-promise.cc b/src/runtime/runtime-promise.cc |
index 91b9820009e445e1d2fcbfffe6dfe1818ccd246d..a6d3ff93d403c2b6c5a609c9bbbc160bf124e442 100644 |
--- a/src/runtime/runtime-promise.cc |
+++ b/src/runtime/runtime-promise.cc |
@@ -28,17 +28,6 @@ void PromiseRejectEvent(Isolate* isolate, Handle<JSReceiver> promise, |
} // namespace |
-RUNTIME_FUNCTION(Runtime_PromiseRejectEvent) { |
- DCHECK(args.length() == 3); |
- HandleScope scope(isolate); |
- CONVERT_ARG_HANDLE_CHECKED(JSObject, promise, 0); |
- CONVERT_ARG_HANDLE_CHECKED(Object, value, 1); |
- CONVERT_BOOLEAN_ARG_CHECKED(debug_event, 2); |
- |
- PromiseRejectEvent(isolate, promise, promise, value, debug_event); |
- return isolate->heap()->undefined_value(); |
-} |
- |
RUNTIME_FUNCTION(Runtime_PromiseRejectEventFromStack) { |
DCHECK(args.length() == 2); |
HandleScope scope(isolate); |