| Index: src/mips/full-codegen-mips.cc
|
| diff --git a/src/mips/full-codegen-mips.cc b/src/mips/full-codegen-mips.cc
|
| index 3c0c316e8bb5e56ea21b8ea468c6f5606cb3c029..857cd9652ea720151f816514e248fe2c2c195c4f 100644
|
| --- a/src/mips/full-codegen-mips.cc
|
| +++ b/src/mips/full-codegen-mips.cc
|
| @@ -3206,7 +3206,7 @@ void FullCodeGenerator::EmitGetFromCache(ZoneList<Expression*>* args) {
|
|
|
|
|
| Label done, not_found;
|
| - ASSERT(kSmiTag == 0 && kSmiTagSize == 1);
|
| + STATIC_ASSERT(kSmiTag == 0 && kSmiTagSize == 1);
|
| __ lw(a2, FieldMemOperand(cache, JSFunctionResultCache::kFingerOffset));
|
| // a2 now holds finger offset as a smi.
|
| __ Addu(a3, cache, Operand(FixedArray::kHeaderSize - kHeapObjectTag));
|
| @@ -4201,7 +4201,7 @@ void FullCodeGenerator::EnterFinallyBlock() {
|
| // Cook return address in link register to stack (smi encoded Code* delta).
|
| __ Subu(a1, ra, Operand(masm_->CodeObject()));
|
| ASSERT_EQ(1, kSmiTagSize + kSmiShiftSize);
|
| - ASSERT_EQ(0, kSmiTag);
|
| + STATIC_ASSERT(0 == kSmiTag);
|
| __ Addu(a1, a1, Operand(a1)); // Convert to smi.
|
| __ push(a1);
|
| }
|
|
|