Index: src/runtime/runtime-generator.cc |
diff --git a/src/runtime/runtime-generator.cc b/src/runtime/runtime-generator.cc |
index 7ff7fc8b7bb97e11ac18f0cbdaa276b96422dc41..c0b095bde2289e44afd55fb725c678a2f78eab1f 100644 |
--- a/src/runtime/runtime-generator.cc |
+++ b/src/runtime/runtime-generator.cc |
@@ -129,16 +129,6 @@ RUNTIME_FUNCTION(Runtime_GeneratorGetResumeMode) { |
} |
-RUNTIME_FUNCTION(Runtime_GeneratorSetContext) { |
- HandleScope scope(isolate); |
- DCHECK(args.length() == 1); |
- CONVERT_ARG_HANDLE_CHECKED(JSGeneratorObject, generator, 0); |
- |
- generator->set_context(isolate->context()); |
- return isolate->heap()->undefined_value(); |
-} |
- |
- |
RUNTIME_FUNCTION(Runtime_GeneratorGetContinuation) { |
HandleScope scope(isolate); |
DCHECK(args.length() == 1); |
@@ -148,45 +138,6 @@ RUNTIME_FUNCTION(Runtime_GeneratorGetContinuation) { |
} |
-RUNTIME_FUNCTION(Runtime_GeneratorSetContinuation) { |
- HandleScope scope(isolate); |
- DCHECK(args.length() == 2); |
- CONVERT_ARG_HANDLE_CHECKED(JSGeneratorObject, generator, 0); |
- CONVERT_SMI_ARG_CHECKED(continuation, 1); |
- |
- generator->set_continuation(continuation); |
- return isolate->heap()->undefined_value(); |
-} |
- |
- |
-RUNTIME_FUNCTION(Runtime_GeneratorLoadRegister) { |
- HandleScope scope(isolate); |
- DCHECK(args.length() == 2); |
- CONVERT_ARG_HANDLE_CHECKED(JSGeneratorObject, generator, 0); |
- CONVERT_SMI_ARG_CHECKED(index, 1); |
- |
- DCHECK(FLAG_ignition && FLAG_ignition_generators); |
- DCHECK(generator->function()->shared()->HasBytecodeArray()); |
- |
- return generator->operand_stack()->get(index); |
-} |
- |
- |
-RUNTIME_FUNCTION(Runtime_GeneratorStoreRegister) { |
- HandleScope scope(isolate); |
- DCHECK(args.length() == 3); |
- CONVERT_ARG_HANDLE_CHECKED(JSGeneratorObject, generator, 0); |
- CONVERT_SMI_ARG_CHECKED(index, 1); |
- CONVERT_ARG_HANDLE_CHECKED(Object, value, 2); |
- |
- DCHECK(FLAG_ignition && FLAG_ignition_generators); |
- DCHECK(generator->function()->shared()->HasBytecodeArray()); |
- |
- generator->operand_stack()->set(index, *value); |
- return isolate->heap()->undefined_value(); |
-} |
- |
- |
RUNTIME_FUNCTION(Runtime_GeneratorGetSourcePosition) { |
HandleScope scope(isolate); |
DCHECK(args.length() == 1); |