Index: src/arm/lithium-codegen-arm.cc |
diff --git a/src/arm/lithium-codegen-arm.cc b/src/arm/lithium-codegen-arm.cc |
index 6f73c1dde433d0c87ac2c73dd9b35cdd03292e7c..5a01d3bc84205a4b38868f142295cb7969e99e92 100644 |
--- a/src/arm/lithium-codegen-arm.cc |
+++ b/src/arm/lithium-codegen-arm.cc |
@@ -1877,9 +1877,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); |
} |
__ Move(ToRegister(instr->result()), object); |
} |