mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-27 12:15:33 +00:00
Bug 477713 - Allow LIR_ret at end of trace. r=edwsmith.
This commit is contained in:
parent
ab85e1736f
commit
d07d3876ec
@ -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