Mercurial > sdl-ios-xcode
view src/hermes/common.inc @ 4386:dcb26ac38e6b SDL-1.2
Fixed crash - need to save and restore rbx around cpuid, since the compiler may be assuming the stack pointer isn't being modified when filling in %0.
I did it around each call to cpuid which isn't strictly necessary, but is definitely future proof. :)
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Wed, 02 Dec 2009 16:24:21 +0000 |
parents | d76c3909b244 |
children |
line wrap: on
line source
; Some common macros for hermes nasm code %macro SDL_FUNC 1 %ifdef HIDDEN_VISIBILITY GLOBAL %1:function hidden %else GLOBAL %1 %endif %endmacro