Index: src/full-codegen.cc |
diff --git a/src/full-codegen.cc b/src/full-codegen.cc |
index fb3e2d461cad6f20ab2ceed5215ed82317f58653..72d08358455863a8686a788f2ef8d033464959b1 100644 |
--- a/src/full-codegen.cc |
+++ b/src/full-codegen.cc |
@@ -1553,6 +1553,8 @@ void FullCodeGenerator::VisitYield(Yield* expr) { |
UNIMPLEMENTED(); |
Comment cmnt(masm_, "[ Yield"); |
+ // TODO(wingo): Actually update the iterator state. |
+ VisitForEffect(expr->generator_object()); |
VisitForAccumulatorValue(expr->expression()); |
// TODO(wingo): Assert that the operand stack depth is 0, at least while |
// general yield expressions are unimplemented. |