Index: src/arm64/full-codegen-arm64.cc |
diff --git a/src/arm64/full-codegen-arm64.cc b/src/arm64/full-codegen-arm64.cc |
index 46dabae35d4ce2ba38423e2adb950aad050ecb37..819868b5d855af8c15eb13f87a35e067d47625ec 100644 |
--- a/src/arm64/full-codegen-arm64.cc |
+++ b/src/arm64/full-codegen-arm64.cc |
@@ -1890,7 +1890,7 @@ void FullCodeGenerator::VisitArrayLiteral(ArrayLiteral* expr) { |
void FullCodeGenerator::VisitAssignment(Assignment* expr) { |
- ASSERT(expr->target()->IsValidLeftHandSide()); |
+ ASSERT(expr->target()->IsValidReferenceExpression()); |
Comment cmnt(masm_, "[ Assignment"); |
@@ -2131,7 +2131,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. |
@@ -4005,7 +4005,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()); |