Index: src/arm/full-codegen-arm.cc |
diff --git a/src/arm/full-codegen-arm.cc b/src/arm/full-codegen-arm.cc |
index b58743de41a66e6dea3c420551b52d497dd515a0..dd3b189f04e763bafd21ffcd49825c93cf9460df 100644 |
--- a/src/arm/full-codegen-arm.cc |
+++ b/src/arm/full-codegen-arm.cc |
@@ -3194,7 +3194,7 @@ void FullCodeGenerator::EmitGetFromCache(ZoneList<Expression*>* args) { |
Label done, not_found; |
// tmp now holds finger offset as a smi. |
- ASSERT(kSmiTag == 0 && kSmiTagSize == 1); |
+ STATIC_ASSERT(kSmiTag == 0 && kSmiTagSize == 1); |
__ ldr(r2, FieldMemOperand(cache, JSFunctionResultCache::kFingerOffset)); |
// r2 now holds finger offset as a smi. |
__ add(r3, cache, Operand(FixedArray::kHeaderSize - kHeapObjectTag)); |
@@ -4182,7 +4182,7 @@ void FullCodeGenerator::EnterFinallyBlock() { |
// Cook return address in link register to stack (smi encoded Code* delta) |
__ sub(r1, lr, Operand(masm_->CodeObject())); |
ASSERT_EQ(1, kSmiTagSize + kSmiShiftSize); |
- ASSERT_EQ(0, kSmiTag); |
+ STATIC_ASSERT(kSmiTag == 0); |
__ add(r1, r1, Operand(r1)); // Convert to smi. |
__ push(r1); |
} |