Index: src/mips/full-codegen-mips.cc |
diff --git a/src/mips/full-codegen-mips.cc b/src/mips/full-codegen-mips.cc |
index 97df4714581319b29b0f1d7e9bf70ee96cc349b6..f71189df8dd4c3b71efcccfe2450f60db41beb0e 100644 |
--- a/src/mips/full-codegen-mips.cc |
+++ b/src/mips/full-codegen-mips.cc |
@@ -2548,7 +2548,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()); |