Index: src/runtime.cc |
diff --git a/src/runtime.cc b/src/runtime.cc |
index 16164342a9a11ece230d99afc1842009c1f2d0a0..cfae6940ad1c2998e639d367aa8cff60b17ee8fe 100644 |
--- a/src/runtime.cc |
+++ b/src/runtime.cc |
@@ -2765,6 +2765,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); |
@@ -8118,8 +8126,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); |
} |