Index: src/runtime.cc |
diff --git a/src/runtime.cc b/src/runtime.cc |
index dc3fc756c10e82880fa7e3d898f297a0eefbe11f..d2e6e148bd904d9b5005e5c6422b197111cbd02e 100644 |
--- a/src/runtime.cc |
+++ b/src/runtime.cc |
@@ -2747,6 +2747,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); |
@@ -8103,8 +8111,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); |
} |