Index: src/prettyprinter.cc |
diff --git a/src/prettyprinter.cc b/src/prettyprinter.cc |
index 23cad956927686ea98f7664f49a66ff288988196..1824efa7f5986dcefbe36da13b2c3feb351103d9 100644 |
--- a/src/prettyprinter.cc |
+++ b/src/prettyprinter.cc |
@@ -315,7 +315,7 @@ void PrettyPrinter::VisitConditional(Conditional* node) { |
void PrettyPrinter::VisitLiteral(Literal* node) { |
- PrintLiteral(node->handle(), true); |
+ PrintLiteral(node->value(), true); |
} |
@@ -379,11 +379,11 @@ void PrettyPrinter::VisitThrow(Throw* node) { |
void PrettyPrinter::VisitProperty(Property* node) { |
Expression* key = node->key(); |
Literal* literal = key->AsLiteral(); |
- if (literal != NULL && literal->handle()->IsInternalizedString()) { |
+ if (literal != NULL && literal->value()->IsInternalizedString()) { |
Print("("); |
Visit(node->obj()); |
Print(")."); |
- PrintLiteral(literal->handle(), false); |
+ PrintLiteral(literal->value(), false); |
} else { |
Visit(node->obj()); |
Print("["); |
@@ -999,7 +999,7 @@ void AstPrinter::VisitConditional(Conditional* node) { |
// TODO(svenpanne) Start with IndentedScope. |
void AstPrinter::VisitLiteral(Literal* node) { |
- PrintLiteralIndented("LITERAL", node->handle(), true); |
+ PrintLiteralIndented("LITERAL", node->value(), true); |
} |
@@ -1102,8 +1102,8 @@ void AstPrinter::VisitProperty(Property* node) { |
IndentedScope indent(this, "PROPERTY"); |
Visit(node->obj()); |
Literal* literal = node->key()->AsLiteral(); |
- if (literal != NULL && literal->handle()->IsInternalizedString()) { |
- PrintLiteralIndented("NAME", literal->handle(), false); |
+ if (literal != NULL && literal->value()->IsInternalizedString()) { |
+ PrintLiteralIndented("NAME", literal->value(), false); |
} else { |
PrintIndentedVisit("KEY", node->key()); |
} |