diff options
Diffstat (limited to 'deps/v8/src/runtime/runtime-generator.cc')
-rw-r--r-- | deps/v8/src/runtime/runtime-generator.cc | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/deps/v8/src/runtime/runtime-generator.cc b/deps/v8/src/runtime/runtime-generator.cc index 208f7f6680..926cd3ce2d 100644 --- a/deps/v8/src/runtime/runtime-generator.cc +++ b/deps/v8/src/runtime/runtime-generator.cc @@ -209,14 +209,6 @@ RUNTIME_FUNCTION(Runtime_GeneratorGetSourcePosition) { } -RUNTIME_FUNCTION(Runtime_FunctionIsGenerator) { - SealHandleScope shs(isolate); - DCHECK(args.length() == 1); - CONVERT_ARG_CHECKED(JSFunction, f, 0); - return isolate->heap()->ToBoolean(f->shared()->is_generator()); -} - - RUNTIME_FUNCTION(Runtime_GeneratorNext) { UNREACHABLE(); // Optimization disabled in SetUpGenerators(). return NULL; |