diff options
author | Keith Whitwell <keith@tungstengraphics.com> | 2008-05-01 15:31:17 +0100 |
---|---|---|
committer | Keith Whitwell <keith@tungstengraphics.com> | 2008-05-01 15:37:30 +0100 |
commit | 727257f32002544658219d2e0163993c1cbc5644 (patch) | |
tree | 3b9692f91e816c46be8156419a319122c610a631 /src/gallium/auxiliary/rtasm | |
parent | 6980823da9120d8d8533f7a78eac2d63dece430f (diff) |
rtasm: assert stack is fully popped in return
Diffstat (limited to 'src/gallium/auxiliary/rtasm')
-rw-r--r-- | src/gallium/auxiliary/rtasm/rtasm_x86sse.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/rtasm/rtasm_x86sse.c b/src/gallium/auxiliary/rtasm/rtasm_x86sse.c index d7e2230557..40f6f973d6 100644 --- a/src/gallium/auxiliary/rtasm/rtasm_x86sse.c +++ b/src/gallium/auxiliary/rtasm/rtasm_x86sse.c @@ -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); } |