Reviewers: joransiu_ca.ibm.com, john.yan, michael_dawson, Yang,
Description:
PPC: Speed up cctest/test-debug/DebugBreakLoop.
Port a67f31c48c7bb7a3f653e32e0a48143099d27b68
[email protected], [email protected], [email protected],
[email protected]
BUG=
Please review this at https://codereview.chromium.org/1263863003/
Base URL: https://chromium.googlesource.com/v8/v8.git@master
Affected files (+0, -4 lines):
M src/full-codegen/ppc/full-codegen-ppc.cc
Index: src/full-codegen/ppc/full-codegen-ppc.cc
diff --git a/src/full-codegen/ppc/full-codegen-ppc.cc
b/src/full-codegen/ppc/full-codegen-ppc.cc
index
ea81d0110cd779935481e1a5bd1bfc80321dfafe..c56693672923b05b60af8d7aab273b67889bc881
100644
--- a/src/full-codegen/ppc/full-codegen-ppc.cc
+++ b/src/full-codegen/ppc/full-codegen-ppc.cc
@@ -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);
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.