Index: src/runtime/runtime-generator.cc |
diff --git a/src/runtime/runtime-generator.cc b/src/runtime/runtime-generator.cc |
index 208f7f6680eeb05eb4db6100b3a2f0204469f23f..926cd3ce2d6d107e6b94bb2f3caa44cd1bd6cdc9 100644 |
--- a/src/runtime/runtime-generator.cc |
+++ b/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; |