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