Index: src/mips64/lithium-codegen-mips64.h |
diff --git a/src/mips64/lithium-codegen-mips64.h b/src/mips64/lithium-codegen-mips64.h |
index d7f37a4a23985a98848af70d4177e2b743fab08c..d42a10e04e0ac7cb00f90232c861aafd645cc56b 100644 |
--- a/src/mips64/lithium-codegen-mips64.h |
+++ b/src/mips64/lithium-codegen-mips64.h |
@@ -388,8 +388,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()); |
@@ -398,7 +398,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); |