mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Fixed assembler errors not blacklisting the loop header, resulting in senseless re-recordings (bug 467854, r=gal).
This commit is contained in:
parent
beea650730
commit
9ba9c170dc
@ -2226,8 +2226,10 @@ TraceRecorder::compile(Fragmento* fragmento)
|
|||||||
::compile(fragmento->assm(), fragment);
|
::compile(fragmento->assm(), fragment);
|
||||||
if (anchor)
|
if (anchor)
|
||||||
fragmento->assm()->patch(anchor);
|
fragmento->assm()->patch(anchor);
|
||||||
if (fragmento->assm()->error() != nanojit::None)
|
if (fragmento->assm()->error() != nanojit::None) {
|
||||||
|
js_BlacklistPC(fragmento, fragment);
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
JS_ASSERT(fragment->code());
|
JS_ASSERT(fragment->code());
|
||||||
JS_ASSERT(!fragment->vmprivate);
|
JS_ASSERT(!fragment->vmprivate);
|
||||||
if (fragment == fragment->root)
|
if (fragment == fragment->root)
|
||||||
|
Loading…
Reference in New Issue
Block a user