Index: src/ia32/full-codegen-ia32.cc |
diff --git a/src/ia32/full-codegen-ia32.cc b/src/ia32/full-codegen-ia32.cc |
index aa1af8e3ffd1e77384543bb85a312f703e535647..8ed505e6db1f9013960c3d10c6f3aa71d78301f5 100644 |
--- a/src/ia32/full-codegen-ia32.cc |
+++ b/src/ia32/full-codegen-ia32.cc |
@@ -2476,7 +2476,7 @@ void FullCodeGenerator::EmitNamedPropertyAssignment(Assignment* expr) { |
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()); |