Index: src/arm/lithium-codegen-arm.cc |
diff --git a/src/arm/lithium-codegen-arm.cc b/src/arm/lithium-codegen-arm.cc |
index 65a616925294a8f3330bae6f6001216cd71b8946..ffe4b783d04ce2eb3c883daba0a83e009ab175c0 100644 |
--- a/src/arm/lithium-codegen-arm.cc |
+++ b/src/arm/lithium-codegen-arm.cc |
@@ -3759,7 +3759,7 @@ void LCodeGen::DoSmiUntag(LSmiUntag* instr) { |
LOperand* input = instr->InputAt(0); |
ASSERT(input->IsRegister() && input->Equals(instr->result())); |
if (instr->needs_check()) { |
- ASSERT(kHeapObjectTag == 1); |
+ STATIC_ASSERT(kHeapObjectTag == 1); |
// If the input is a HeapObject, SmiUntag will set the carry flag. |
__ SmiUntag(ToRegister(input), SetCC); |
DeoptimizeIf(cs, instr->environment()); |
@@ -3844,7 +3844,7 @@ void LCodeGen::DoDeferredTaggedToI(LTaggedToI* instr) { |
// The input was optimistically untagged; revert it. |
// The carry flag is set when we reach this deferred code as we just executed |
// SmiUntag(heap_object, SetCC) |
- ASSERT(kHeapObjectTag == 1); |
+ STATIC_ASSERT(kHeapObjectTag == 1); |
__ adc(input_reg, input_reg, Operand(input_reg)); |
// Heap number map check. |