mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
actually record at HOTLOOP1 (fencepost)
This commit is contained in:
parent
7f5f2ae1c8
commit
f463dc6891
@ -707,7 +707,7 @@ js_LoopEdge(JSContext* cx)
|
||||
Fragment* f = tm->fragmento->getLoop(state);
|
||||
if (!f->code()) {
|
||||
int hits = ++f->hits();
|
||||
if (!f->isBlacklisted() && hits > HOTLOOP1) {
|
||||
if (!f->isBlacklisted() && hits >= HOTLOOP1) {
|
||||
if (hits == HOTLOOP1 || hits == HOTLOOP2 || hits == HOTLOOP3) {
|
||||
tm->recorder = new (&gc) TraceRecorder(cx, tm->fragmento, f);
|
||||
return true; /* start recording */
|
||||
|
Loading…
Reference in New Issue
Block a user