| Index: src/runtime.cc
|
| diff --git a/src/runtime.cc b/src/runtime.cc
|
| index 2e15266b779b9dfe42bcd19d3beba13e8199fe8d..fd65f25234d917a9804ff14fa5a8cae03bb86c75 100644
|
| --- a/src/runtime.cc
|
| +++ b/src/runtime.cc
|
| @@ -2766,6 +2766,14 @@ RUNTIME_FUNCTION(Runtime_FunctionIsArrow) {
|
| }
|
|
|
|
|
| +RUNTIME_FUNCTION(Runtime_FunctionIsConciseMethod) {
|
| + SealHandleScope shs(isolate);
|
| + DCHECK(args.length() == 1);
|
| + CONVERT_ARG_CHECKED(JSFunction, f, 0);
|
| + return isolate->heap()->ToBoolean(f->shared()->is_concise_method());
|
| +}
|
| +
|
| +
|
| RUNTIME_FUNCTION(Runtime_FunctionRemovePrototype) {
|
| SealHandleScope shs(isolate);
|
| DCHECK(args.length() == 1);
|
| @@ -8119,8 +8127,8 @@ RUNTIME_FUNCTION(Runtime_NewClosureFromStubFailure) {
|
| CONVERT_ARG_HANDLE_CHECKED(SharedFunctionInfo, shared, 0);
|
| Handle<Context> context(isolate->context());
|
| PretenureFlag pretenure_flag = NOT_TENURED;
|
| - return *isolate->factory()->NewFunctionFromSharedFunctionInfo(
|
| - shared, context, pretenure_flag);
|
| + return *isolate->factory()->NewFunctionFromSharedFunctionInfo(shared, context,
|
| + pretenure_flag);
|
| }
|
|
|
|
|
|
|