Index: src/arm/lithium-codegen-arm.h |
diff --git a/src/arm/lithium-codegen-arm.h b/src/arm/lithium-codegen-arm.h |
index 59f6f44f2ca5de6c2ae505a0d4bf5fbf1b0ce913..ee5f4e908626aad95b11d7b5e8d9c62e6d298609 100644 |
--- a/src/arm/lithium-codegen-arm.h |
+++ b/src/arm/lithium-codegen-arm.h |
@@ -355,14 +355,14 @@ 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; |
codegen_->masm_->PushSafepointRegisters(); |
} |
~PushSafepointRegistersScope() { |
- ASSERT(codegen_->expected_safepoint_kind_ == Safepoint::kWithRegisters); |
+ DCHECK(codegen_->expected_safepoint_kind_ == Safepoint::kWithRegisters); |
codegen_->masm_->PopSafepointRegisters(); |
codegen_->expected_safepoint_kind_ = Safepoint::kSimple; |
} |