| Index: src/runtime.cc
|
| diff --git a/src/runtime.cc b/src/runtime.cc
|
| index 28481383a5fbd846a6940deb9a1b08ee64dab56e..9b76da1b93d17ab6238912d787ad84ac23f671e1 100644
|
| --- a/src/runtime.cc
|
| +++ b/src/runtime.cc
|
| @@ -2804,6 +2804,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);
|
|
|