| Index: src/runtime.cc
|
| diff --git a/src/runtime.cc b/src/runtime.cc
|
| index 1aaa3cd92a70b10d8521ffde464cec500aecd393..23fb4700e0c83212af29cc3773da7b3c9968e290 100644
|
| --- a/src/runtime.cc
|
| +++ b/src/runtime.cc
|
| @@ -2941,6 +2941,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);
|
|
|