Index: src/runtime/runtime-generator.cc |
diff --git a/src/runtime/runtime-generator.cc b/src/runtime/runtime-generator.cc |
index 0c8fe6db011f5626d2cdf557dfdf7575ea9ae2d5..74b1fe90d24d1f5bc4e741b18d0c04e74f7ffce8 100644 |
--- a/src/runtime/runtime-generator.cc |
+++ b/src/runtime/runtime-generator.cc |
@@ -66,6 +66,10 @@ RUNTIME_FUNCTION(Runtime_GeneratorGetContext) { |
DCHECK_EQ(1, args.length()); |
CONVERT_ARG_HANDLE_CHECKED(JSGeneratorObject, generator, 0); |
+ // Runtime call is implemented in InterpreterIntrinsics and lowered in |
+ // JSIntrinsicLowering |
+ UNREACHABLE(); |
+ |
return generator->context(); |
} |
@@ -74,6 +78,10 @@ RUNTIME_FUNCTION(Runtime_GeneratorGetInputOrDebugPos) { |
DCHECK_EQ(1, args.length()); |
CONVERT_ARG_HANDLE_CHECKED(JSGeneratorObject, generator, 0); |
+ // Runtime call is implemented in InterpreterIntrinsics and lowered in |
+ // JSIntrinsicLowering |
+ UNREACHABLE(); |
+ |
return generator->input_or_debug_pos(); |
} |
@@ -81,7 +89,6 @@ RUNTIME_FUNCTION(Runtime_AsyncGeneratorGetAwaitInputOrDebugPos) { |
HandleScope scope(isolate); |
DCHECK_EQ(1, args.length()); |
CONVERT_ARG_HANDLE_CHECKED(JSAsyncGeneratorObject, generator, 0); |
- |
return generator->await_input_or_debug_pos(); |
} |
@@ -112,6 +119,10 @@ RUNTIME_FUNCTION(Runtime_GeneratorGetResumeMode) { |
DCHECK_EQ(1, args.length()); |
CONVERT_ARG_HANDLE_CHECKED(JSGeneratorObject, generator, 0); |
+ // Runtime call is implemented in InterpreterIntrinsics and lowered in |
+ // JSIntrinsicLowering |
+ UNREACHABLE(); |
+ |
return Smi::FromInt(generator->resume_mode()); |
} |