Index: src/bootstrapper.cc |
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc |
index df02a3248ea3e232e4ee8013cba92d292ad7b455..16e77300a03ab6ba622b11a0d403dee8fa7bb42e 100644 |
--- a/src/bootstrapper.cc |
+++ b/src/bootstrapper.cc |
@@ -702,12 +702,6 @@ |
Builtins::kGeneratorPrototypeReturn, 1, true); |
SimpleInstallFunction(generator_object_prototype, "throw", |
Builtins::kGeneratorPrototypeThrow, 1, true); |
- |
- // Internal version of generator_prototype_next, flagged as non-native. |
- Handle<JSFunction> generator_next_internal = |
- SimpleCreateFunction(isolate(), factory()->next_string(), |
- Builtins::kGeneratorPrototypeNext, 1, true); |
- native_context()->set_generator_next_internal(*generator_next_internal); |
// Create maps for generator functions and their prototypes. Store those |
// maps in the native context. The "prototype" property descriptor is |