| Index: src/ast/prettyprinter.cc
|
| diff --git a/src/ast/prettyprinter.cc b/src/ast/prettyprinter.cc
|
| index 463ae26c4d77eeec9d440089224cba7a0f86fb6d..950596722a842f40f23f2a8e941aed611d43c894 100644
|
| --- a/src/ast/prettyprinter.cc
|
| +++ b/src/ast/prettyprinter.cc
|
| @@ -978,7 +978,7 @@ void AstPrinter::VisitLiteral(Literal* node) {
|
| void AstPrinter::VisitRegExpLiteral(RegExpLiteral* node) {
|
| IndentedScope indent(this, "REGEXP LITERAL", node->position());
|
| EmbeddedVector<char, 128> buf;
|
| - SNPrintF(buf, "literal_index = %d\n", node->literal_index());
|
| + SNPrintF(buf, "literal_slot = %d\n", node->literal_slot().ToInt());
|
| PrintIndented(buf.start());
|
| PrintLiteralIndented("PATTERN", node->pattern(), false);
|
| int i = 0;
|
| @@ -997,7 +997,7 @@ void AstPrinter::VisitRegExpLiteral(RegExpLiteral* node) {
|
| void AstPrinter::VisitObjectLiteral(ObjectLiteral* node) {
|
| IndentedScope indent(this, "OBJ LITERAL", node->position());
|
| EmbeddedVector<char, 128> buf;
|
| - SNPrintF(buf, "literal_index = %d\n", node->literal_index());
|
| + SNPrintF(buf, "literal_slot = %d\n", node->literal_slot().ToInt());
|
| PrintIndented(buf.start());
|
| PrintObjectProperties(node->properties());
|
| }
|
| @@ -1043,7 +1043,7 @@ void AstPrinter::VisitArrayLiteral(ArrayLiteral* node) {
|
| IndentedScope indent(this, "ARRAY LITERAL", node->position());
|
|
|
| EmbeddedVector<char, 128> buf;
|
| - SNPrintF(buf, "literal_index = %d\n", node->literal_index());
|
| + SNPrintF(buf, "literal_slot = %d\n", node->literal_slot().ToInt());
|
| PrintIndented(buf.start());
|
| if (node->values()->length() > 0) {
|
| IndentedScope indent(this, "VALUES", node->position());
|
|
|