Revision: 2572
Author: [email protected]
Date: Wed Jul 29 01:46:28 2009
Log: Add missing case in AST printer.
Review URL: http://codereview.chromium.org/159580
http://code.google.com/p/v8/source/detail?r=2572
Modified:
/branches/bleeding_edge/src/prettyprinter.cc
=======================================
--- /branches/bleeding_edge/src/prettyprinter.cc Thu Jun 4 05:01:55 2009
+++ /branches/bleeding_edge/src/prettyprinter.cc Wed Jul 29 01:46:28 2009
@@ -934,6 +934,9 @@
case ObjectLiteral::Property::COMPUTED:
prop_kind = "PROPERTY - COMPUTED";
break;
+ case ObjectLiteral::Property::MATERIALIZED_LITERAL:
+ prop_kind = "PROPERTY - MATERIALIZED_LITERAL";
+ break;
case ObjectLiteral::Property::PROTOTYPE:
prop_kind = "PROPERTY - PROTOTYPE";
break;
@@ -945,7 +948,6 @@
break;
default:
UNREACHABLE();
- break;
}
IndentedScope prop(prop_kind);
PrintIndentedVisit("KEY", node->properties()->at(i)->key());
--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---