| Index: test/cctest/test-parsing.cc
|
| diff --git a/test/cctest/test-parsing.cc b/test/cctest/test-parsing.cc
|
| index aed5958815a744d5ee5ecccecb00f31fdb857f74..ec5d5f9d9badc157b88a26b9e543642ccd5b0712 100644
|
| --- a/test/cctest/test-parsing.cc
|
| +++ b/test/cctest/test-parsing.cc
|
| @@ -1091,7 +1091,8 @@ TEST(ScopeUsesArgumentsSuperThis) {
|
| if ((source_data[i].expected & THIS) != 0) {
|
| // Currently the is_used() flag is conservative; all variables in a
|
| // script scope are marked as used.
|
| - CHECK(scope->LookupThis()->is_used());
|
| + CHECK(
|
| + scope->Lookup(info.ast_value_factory()->this_string())->is_used());
|
| }
|
| CHECK_EQ((source_data[i].expected & EVAL) != 0, scope->calls_eval());
|
| }
|
|
|