Index: src/x87/full-codegen-x87.cc |
diff --git a/src/x87/full-codegen-x87.cc b/src/x87/full-codegen-x87.cc |
index ef7f567730cbc8a18849703b1da64b259d2a141f..c888b6e8798fef2d8e4cb134689c936c6ea5b8dd 100644 |
--- a/src/x87/full-codegen-x87.cc |
+++ b/src/x87/full-codegen-x87.cc |
@@ -2470,7 +2470,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()); |