Index: src/x64/deoptimizer-x64.cc |
diff --git a/src/x64/deoptimizer-x64.cc b/src/x64/deoptimizer-x64.cc |
index b2ef1b64d76271956ef25ce858ea342f9734883d..a2f9faa00268eb4396555a771fa4e0ce6786dd25 100644 |
--- a/src/x64/deoptimizer-x64.cc |
+++ b/src/x64/deoptimizer-x64.cc |
@@ -72,9 +72,9 @@ void Deoptimizer::PatchCodeForDeoptimization(Isolate* isolate, Code* code) { |
CodePatcher patcher(call_address, Assembler::kCallSequenceLength); |
patcher.masm()->Call(GetDeoptimizationEntry(isolate, i, LAZY), |
Assembler::RelocInfoNone()); |
- ASSERT(prev_call_address == NULL || |
+ DCHECK(prev_call_address == NULL || |
call_address >= prev_call_address + patch_size()); |
- ASSERT(call_address + patch_size() <= code->instruction_end()); |
+ DCHECK(call_address + patch_size() <= code->instruction_end()); |
#ifdef DEBUG |
prev_call_address = call_address; |
#endif |
@@ -291,7 +291,7 @@ void Deoptimizer::EntryGenerator::Generate() { |
// Do not restore rsp, simply pop the value into the next register |
// and overwrite this afterwards. |
if (r.is(rsp)) { |
- ASSERT(i > 0); |
+ DCHECK(i > 0); |
r = Register::from_code(i - 1); |
} |
__ popq(r); |
@@ -314,7 +314,7 @@ void Deoptimizer::TableEntryGenerator::GeneratePrologue() { |
USE(start); |
__ pushq_imm32(i); |
__ jmp(&done); |
- ASSERT(masm()->pc_offset() - start == table_entry_size_); |
+ DCHECK(masm()->pc_offset() - start == table_entry_size_); |
} |
__ bind(&done); |
} |