mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
rtasm: assert stack is fully popped in return
This commit is contained in:
parent
6980823da9
commit
727257f320
1 changed files with 1 additions and 0 deletions
|
|
@ -495,6 +495,7 @@ void x86_dec( struct x86_function *p,
|
|||
void x86_ret( struct x86_function *p )
|
||||
{
|
||||
DUMP();
|
||||
assert(p->stack_offset == 0);
|
||||
emit_1ub(p, 0xc3);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue