mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-15 04:49:31 +02:00
* added nostackframe to fix running on darwin/i386
git-svn-id: trunk@9195 -
This commit is contained in:
parent
7b8bbae582
commit
e385c0f7b1
@ -11,7 +11,7 @@ type
|
|||||||
procedure testatt; virtual;
|
procedure testatt; virtual;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure tc.testintel; assembler;
|
procedure tc.testintel; assembler; nostackframe;
|
||||||
asm
|
asm
|
||||||
mov ecx,[eax]
|
mov ecx,[eax]
|
||||||
jmp [ecx + vmtoffset tc.v]
|
jmp [ecx + vmtoffset tc.v]
|
||||||
@ -19,7 +19,7 @@ end;
|
|||||||
|
|
||||||
{$asmmode att}
|
{$asmmode att}
|
||||||
|
|
||||||
procedure tc.testatt; assembler;
|
procedure tc.testatt; assembler; nostackframe;
|
||||||
asm
|
asm
|
||||||
movl (%eax),%ecx
|
movl (%eax),%ecx
|
||||||
jmpl +vmtoffset tc.v(%ecx)
|
jmpl +vmtoffset tc.v(%ecx)
|
||||||
|
Loading…
Reference in New Issue
Block a user