Index: src/arm/full-codegen-arm.cc |
diff --git a/src/arm/full-codegen-arm.cc b/src/arm/full-codegen-arm.cc |
index 5e3b62bf121d743a1903de347b0088cfb79958d1..7606969e24559518c60c77d35d1a29f1874fcbba 100644 |
--- a/src/arm/full-codegen-arm.cc |
+++ b/src/arm/full-codegen-arm.cc |
@@ -2537,7 +2537,7 @@ void FullCodeGenerator::EmitNamedPropertyAssignment(Assignment* expr) { |
// Assignment to a property, using a named store IC. |
Property* prop = expr->target()->AsProperty(); |
ASSERT(prop != NULL); |
- ASSERT(prop->key()->AsLiteral() != NULL); |
+ ASSERT(prop->key()->IsLiteral()); |
// Record source code position before IC call. |
SetSourcePosition(expr->position()); |