Index: src/mips/lithium-codegen-mips.h |
diff --git a/src/mips/lithium-codegen-mips.h b/src/mips/lithium-codegen-mips.h |
index 5411e46bf886fe6df4459efa978a793a6212de57..5c19e0d3ac3f6ed993f2c7dfafd7c27cb14de85c 100644 |
--- a/src/mips/lithium-codegen-mips.h |
+++ b/src/mips/lithium-codegen-mips.h |
@@ -387,8 +387,8 @@ class LCodeGen: public LCodeGenBase { |
public: |
explicit PushSafepointRegistersScope(LCodeGen* codegen) |
: codegen_(codegen) { |
- ASSERT(codegen_->info()->is_calling()); |
- ASSERT(codegen_->expected_safepoint_kind_ == Safepoint::kSimple); |
+ DCHECK(codegen_->info()->is_calling()); |
+ DCHECK(codegen_->expected_safepoint_kind_ == Safepoint::kSimple); |
codegen_->expected_safepoint_kind_ = Safepoint::kWithRegisters; |
StoreRegistersStateStub stub(codegen_->isolate()); |
@@ -397,7 +397,7 @@ class LCodeGen: public LCodeGenBase { |
} |
~PushSafepointRegistersScope() { |
- ASSERT(codegen_->expected_safepoint_kind_ == Safepoint::kWithRegisters); |
+ DCHECK(codegen_->expected_safepoint_kind_ == Safepoint::kWithRegisters); |
RestoreRegistersStateStub stub(codegen_->isolate()); |
codegen_->masm_->push(ra); |
codegen_->masm_->CallStub(&stub); |