Index: src/arm64/lithium-codegen-arm64.h |
diff --git a/src/arm64/lithium-codegen-arm64.h b/src/arm64/lithium-codegen-arm64.h |
index dca433466b5f6f9294107ddadf1a5d10eea3cdac..bb06f483afed459cb51e09ffb60424931faacc45 100644 |
--- a/src/arm64/lithium-codegen-arm64.h |
+++ b/src/arm64/lithium-codegen-arm64.h |
@@ -44,7 +44,7 @@ class LCodeGen: public LCodeGenBase { |
} |
~LCodeGen() { |
- ASSERT(!after_push_argument_ || inlined_arguments_); |
+ DCHECK(!after_push_argument_ || inlined_arguments_); |
} |
// Simple accessors. |
@@ -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; |
UseScratchRegisterScope temps(codegen_->masm_); |
@@ -402,7 +402,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_->CallStub(&stub); |
codegen_->expected_safepoint_kind_ = Safepoint::kSimple; |