mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-10 04:33:40 +00:00
bugfix: fastcall does not require the first two params to be marked 'inreg',
they always get registers. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34748 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b5d808887a
commit
70500805d5
@ -148,7 +148,7 @@ def CC_X86_32_FastCall : CallingConv<[
|
|||||||
CCIfType<[i8, i16], CCPromoteToType<i32>>,
|
CCIfType<[i8, i16], CCPromoteToType<i32>>,
|
||||||
|
|
||||||
// The first 2 integer arguments are passed in ECX/EDX
|
// The first 2 integer arguments are passed in ECX/EDX
|
||||||
CCIfInReg<CCIfType<[i32], CCAssignToReg<[ECX, EDX]>>>,
|
CCIfType<[i32], CCAssignToReg<[ECX, EDX]>>,
|
||||||
|
|
||||||
// Otherwise, same as everything else.
|
// Otherwise, same as everything else.
|
||||||
CCDelegateTo<CC_X86_32_Common>
|
CCDelegateTo<CC_X86_32_Common>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user