Index: test/cctest/test-ast-expression-visitor.cc |
diff --git a/test/cctest/test-ast-expression-visitor.cc b/test/cctest/test-ast-expression-visitor.cc |
index f8d70294ff1e8cef8dae21adbd6b4da4275a730f..291f64fd95f61739aba3cda301514e3e6cfef927 100644 |
--- a/test/cctest/test-ast-expression-visitor.cc |
+++ b/test/cctest/test-ast-expression-visitor.cc |
@@ -374,7 +374,10 @@ TEST(VisitYield) { |
CHECK_VAR(.generator_object, Bounds::Unbounded()); |
CHECK_EXPR(Assignment, Bounds::Unbounded()) { |
CHECK_VAR(.generator_object, Bounds::Unbounded()); |
- CHECK_EXPR(CallRuntime, Bounds::Unbounded()); |
+ CHECK_EXPR(CallRuntime, Bounds::Unbounded()) { |
+ CHECK_EXPR(ThisFunction, Bounds::Unbounded()); |
+ CHECK_EXPR(VariableProxy, Bounds::Unbounded()); |
+ } |
} |
} |
// Explicit yield (argument wrapped with CreateIterResultObject) |