| Index: src/parsing/parser.cc
|
| diff --git a/src/parsing/parser.cc b/src/parsing/parser.cc
|
| index 66241e1a11aae9e4b17adb3f467dae154aec602e..95ec0992f5e8933a767cac6f22cab43c5946f2db 100644
|
| --- a/src/parsing/parser.cc
|
| +++ b/src/parsing/parser.cc
|
| @@ -7001,6 +7001,12 @@ Statement* ParserTraits::FinalizeForOfStatement(ForOfStatement* loop, int pos) {
|
| return final_loop;
|
| }
|
|
|
| +#ifdef DEBUG
|
| +void Parser::Print(AstNode* node) {
|
| + ast_value_factory()->Internalize(Isolate::Current());
|
| + node->Print(Isolate::Current());
|
| +}
|
| +#endif // DEBUG
|
|
|
| } // namespace internal
|
| } // namespace v8
|
|
|