| Index: src/runtime.cc
|
| diff --git a/src/runtime.cc b/src/runtime.cc
|
| index f668ccf15ac9fb3ff9e3a9082943c1a473880276..f6c23a7d53bd17707f489f142333b92b0d2233e1 100644
|
| --- a/src/runtime.cc
|
| +++ b/src/runtime.cc
|
| @@ -2672,6 +2672,14 @@ RUNTIME_FUNCTION(Runtime_FunctionIsGenerator) {
|
| }
|
|
|
|
|
| +RUNTIME_FUNCTION(Runtime_FunctionIsArrow) {
|
| + SealHandleScope shs(isolate);
|
| + ASSERT(args.length() == 1);
|
| + CONVERT_ARG_CHECKED(JSFunction, f, 0);
|
| + return isolate->heap()->ToBoolean(f->shared()->is_arrow());
|
| +}
|
| +
|
| +
|
| RUNTIME_FUNCTION(Runtime_FunctionRemovePrototype) {
|
| SealHandleScope shs(isolate);
|
| ASSERT(args.length() == 1);
|
|
|