Index: src/crankshaft/hydrogen.cc |
diff --git a/src/crankshaft/hydrogen.cc b/src/crankshaft/hydrogen.cc |
index 249611e143722baf74fb6f8f39d08e98245c98a5..a40a4b1eecd05841894ee65d1d8d7d94dfb3f3d4 100644 |
--- a/src/crankshaft/hydrogen.cc |
+++ b/src/crankshaft/hydrogen.cc |
@@ -7038,6 +7038,7 @@ void HOptimizedGraphBuilder::VisitAssignment(Assignment* expr) { |
DCHECK(!HasStackOverflow()); |
DCHECK(current_block() != NULL); |
DCHECK(current_block()->HasPredecessor()); |
+ |
VariableProxy* proxy = expr->target()->AsVariableProxy(); |
Property* prop = expr->target()->AsProperty(); |
DCHECK(proxy == NULL || prop == NULL); |
@@ -12126,6 +12127,12 @@ void HOptimizedGraphBuilder::VisitExportDeclaration( |
} |
+void HOptimizedGraphBuilder::VisitRewritableExpression( |
+ RewritableExpression* node) { |
+ CHECK_ALIVE(Visit(node->expression())); |
+} |
+ |
+ |
// Generators for inline runtime functions. |
// Support for types. |
void HOptimizedGraphBuilder::GenerateIsSmi(CallRuntime* call) { |