Index: src/ia32/lithium-codegen-ia32.h |
diff --git a/src/ia32/lithium-codegen-ia32.h b/src/ia32/lithium-codegen-ia32.h |
index 2deafb8cc14c3ce0fc922569a061c1b540f6af0f..d2f85f1279f41ab5951d716d06fdc9a9b22ce2fc 100644 |
--- a/src/ia32/lithium-codegen-ia32.h |
+++ b/src/ia32/lithium-codegen-ia32.h |
@@ -360,14 +360,14 @@ class LCodeGen: public LCodeGenBase { |
public: |
explicit PushSafepointRegistersScope(LCodeGen* codegen) |
: codegen_(codegen) { |
- ASSERT(codegen_->expected_safepoint_kind_ == Safepoint::kSimple); |
+ DCHECK(codegen_->expected_safepoint_kind_ == Safepoint::kSimple); |
codegen_->masm_->PushSafepointRegisters(); |
codegen_->expected_safepoint_kind_ = Safepoint::kWithRegisters; |
- ASSERT(codegen_->info()->is_calling()); |
+ DCHECK(codegen_->info()->is_calling()); |
} |
~PushSafepointRegistersScope() { |
- ASSERT(codegen_->expected_safepoint_kind_ == Safepoint::kWithRegisters); |
+ DCHECK(codegen_->expected_safepoint_kind_ == Safepoint::kWithRegisters); |
codegen_->masm_->PopSafepointRegisters(); |
codegen_->expected_safepoint_kind_ = Safepoint::kSimple; |
} |