Commit 4fd562eb authored by mbrandy's avatar mbrandy Committed by Commit bot

PPC: Speed up cctest/test-debug/DebugBreakLoop.

Port a67f31c4

R=yangguo@chromium.org, michael_dawson@ca.ibm.com, jyan@ca.ibm.com, joransiu@ca.ibm.com
BUG=

Review URL: https://codereview.chromium.org/1263863003

Cr-Commit-Position: refs/heads/master@{#29940}
parent 0ea4e6d5
......@@ -413,10 +413,6 @@ void FullCodeGenerator::EmitProfilingCounterDecrement(int delta) {
void FullCodeGenerator::EmitProfilingCounterReset() {
int reset_value = FLAG_interrupt_budget;
if (info_->is_debug()) {
// Detect debug break requests as soon as possible.
reset_value = FLAG_interrupt_budget >> 4;
}
__ mov(r5, Operand(profiling_counter_));
__ LoadSmiLiteral(r6, Smi::FromInt(reset_value));
__ StoreP(r6, FieldMemOperand(r5, Cell::kValueOffset), r0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment