| Index: src/runtime.cc
|
| diff --git a/src/runtime.cc b/src/runtime.cc
|
| index 2596ae0eeeb263d12b89d3741406ad3375ede0ac..a21916072860e73f9bb97611e03778b21c795654 100644
|
| --- a/src/runtime.cc
|
| +++ b/src/runtime.cc
|
| @@ -4831,6 +4831,12 @@ static Object* Runtime_ReThrow(Arguments args) {
|
| }
|
|
|
|
|
| +static Object* Runtime_PromoteScheduledException(Arguments args) {
|
| + ASSERT_EQ(0, args.length());
|
| + return Top::PromoteScheduledException();
|
| +}
|
| +
|
| +
|
| static Object* Runtime_ThrowReferenceError(Arguments args) {
|
| HandleScope scope;
|
| ASSERT(args.length() == 1);
|
| @@ -7792,6 +7798,13 @@ static Object* Runtime_Abort(Arguments args) {
|
| }
|
|
|
|
|
| +static Object* Runtime_DeleteHandleScopeExtensions(Arguments args) {
|
| + ASSERT(args.length() == 0);
|
| + HandleScope::DeleteExtensions();
|
| + return Heap::undefined_value();
|
| +}
|
| +
|
| +
|
| #ifdef DEBUG
|
| // ListNatives is ONLY used by the fuzz-natives.js in debug mode
|
| // Exclude the code in release mode.
|
|
|