Fix --deopt-every-n-times flag
(was broken since r15640) R=titzer@chromium.org Review URL: https://codereview.chromium.org/19188002 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@15669 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
b43e8f1e66
commit
8be50bbd70
@ -772,7 +772,8 @@ void LCodeGen::DeoptimizeIf(Condition cc,
|
||||
if (FLAG_deopt_every_n_times == 1 &&
|
||||
!info()->IsStub() &&
|
||||
info()->opt_count() == id) {
|
||||
__ Jump(entry, RelocInfo::RUNTIME_ENTRY);
|
||||
ASSERT(frame_is_built_);
|
||||
__ Call(entry, RelocInfo::RUNTIME_ENTRY);
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -949,7 +949,8 @@ void LCodeGen::DeoptimizeIf(Condition cc,
|
||||
__ pop(ebx);
|
||||
__ pop(eax);
|
||||
__ popfd();
|
||||
__ jmp(entry, RelocInfo::RUNTIME_ENTRY);
|
||||
ASSERT(frame_is_built_);
|
||||
__ call(entry, RelocInfo::RUNTIME_ENTRY);
|
||||
|
||||
__ bind(&no_deopt);
|
||||
__ mov(FieldOperand(ebx, SharedFunctionInfo::kStressDeoptCounterOffset),
|
||||
|
@ -744,7 +744,8 @@ void LCodeGen::DeoptimizeIf(Condition cc,
|
||||
if (FLAG_deopt_every_n_times == 1 &&
|
||||
!info()->IsStub() &&
|
||||
info()->opt_count() == id) {
|
||||
__ Jump(entry, RelocInfo::RUNTIME_ENTRY);
|
||||
ASSERT(frame_is_built_);
|
||||
__ Call(entry, RelocInfo::RUNTIME_ENTRY);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user