mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 477713 - Allow LIR_ret at end of trace. r=edwsmith.
This commit is contained in:
parent
eebf50ce30
commit
0fcee1ed9f
@ -1026,8 +1026,10 @@ namespace nanojit
|
||||
|
||||
void Assembler::gen(LirFilter* reader, NInsList& loopJumps)
|
||||
{
|
||||
// trace must start with LIR_x or LIR_loop
|
||||
NanoAssert(reader->pos()->isop(LIR_x) || reader->pos()->isop(LIR_loop));
|
||||
// trace must end with LIR_x, LIR_loop, or LIR_ret
|
||||
NanoAssert(reader->pos()->isop(LIR_x) ||
|
||||
reader->pos()->isop(LIR_loop) ||
|
||||
reader->pos()->isop(LIR_ret));
|
||||
|
||||
for (LInsp ins = reader->read(); ins != 0 && !error(); ins = reader->read())
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user