Index: src/ia32/lithium-codegen-ia32.cc |
diff --git a/src/ia32/lithium-codegen-ia32.cc b/src/ia32/lithium-codegen-ia32.cc |
index ee37d0b5837404cc9db6bfd420a69f615221da67..2872d4dc0d676308c2b40641b75d28bf906201bd 100644 |
--- a/src/ia32/lithium-codegen-ia32.cc |
+++ b/src/ia32/lithium-codegen-ia32.cc |
@@ -2015,9 +2015,10 @@ void LCodeGen::DoConstantT(LConstantT* instr) { |
AllowDeferredHandleDereference smi_check; |
if (instr->hydrogen()->HasObjectMap()) { |
Handle<Map> object_map = instr->hydrogen()->ObjectMap().handle(); |
- CHECK(object->IsHeapObject()); |
- CHECK(!object_map->is_stable() || |
- *object_map == Handle<HeapObject>::cast(object)->map()); |
+ ASSERT(object->IsHeapObject()); |
+ ASSERT(!object_map->is_stable() || |
+ *object_map == Handle<HeapObject>::cast(object)->map()); |
+ USE(object_map); |
} |
__ LoadObject(reg, object); |
} |