| Index: src/runtime.cc
|
| diff --git a/src/runtime.cc b/src/runtime.cc
|
| index 6d7fca973450fb8e39bdb74e7bc49dea2f63957e..25df9bf8465e08b4169b9448033b6fb6b84f5172 100644
|
| --- a/src/runtime.cc
|
| +++ b/src/runtime.cc
|
| @@ -5521,6 +5521,15 @@ RUNTIME_FUNCTION(Runtime_DebugPromiseHandleEpilogue) {
|
| }
|
|
|
|
|
| +RUNTIME_FUNCTION(Runtime_DebugPromiseEvent) {
|
| + ASSERT(args.length() == 1);
|
| + HandleScope scope(isolate);
|
| + CONVERT_ARG_HANDLE_CHECKED(JSObject, data, 0);
|
| + isolate->debug()->OnPromiseEvent(data);
|
| + return isolate->heap()->undefined_value();
|
| +}
|
| +
|
| +
|
| // Set an own property, even if it is READ_ONLY. If the property does not
|
| // exist, it will be added with attributes NONE.
|
| RUNTIME_FUNCTION(Runtime_IgnoreAttributesAndSetProperty) {
|
|
|