Index: src/runtime.cc |
diff --git a/src/runtime.cc b/src/runtime.cc |
index d18c22cffc97c436f3b6bab4d27f37c6ba1455bc..77c7bb99f78771e92432a40921cc0dc8b7bcc7f6 100644 |
--- a/src/runtime.cc |
+++ b/src/runtime.cc |
@@ -2775,6 +2775,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); |
@@ -8125,8 +8133,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); |
} |