Index: src/ia32/full-codegen-ia32.cc |
diff --git a/src/ia32/full-codegen-ia32.cc b/src/ia32/full-codegen-ia32.cc |
index c3c1bda77185263bf16e184a56981240ca43eeda..b021e46d3e9eb934beef823b6852ddf72601b983 100644 |
--- a/src/ia32/full-codegen-ia32.cc |
+++ b/src/ia32/full-codegen-ia32.cc |
@@ -1851,7 +1851,7 @@ void FullCodeGenerator::VisitArrayLiteral(ArrayLiteral* expr) { |
void FullCodeGenerator::VisitAssignment(Assignment* expr) { |
- ASSERT(expr->target()->IsValidLeftHandSide()); |
+ ASSERT(expr->target()->IsValidReferenceExpression()); |
Comment cmnt(masm_, "[ Assignment"); |
@@ -2382,7 +2382,7 @@ void FullCodeGenerator::EmitBinaryOp(BinaryOperation* expr, |
void FullCodeGenerator::EmitAssignment(Expression* expr) { |
- ASSERT(expr->IsValidLeftHandSide()); |
+ ASSERT(expr->IsValidReferenceExpression()); |
// Left-hand side can only be a property, a global or a (parameter or local) |
// slot. |
@@ -4297,7 +4297,7 @@ void FullCodeGenerator::VisitUnaryOperation(UnaryOperation* expr) { |
void FullCodeGenerator::VisitCountOperation(CountOperation* expr) { |
- ASSERT(expr->expression()->IsValidLeftHandSide()); |
+ ASSERT(expr->expression()->IsValidReferenceExpression()); |
Comment cmnt(masm_, "[ CountOperation"); |
SetSourcePosition(expr->position()); |