mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-27 15:29:51 +00:00
While passing arg of types larger than char only one byte at lower end was getting passed. We couldn't catch this as we did not have tests that were passing an int value larger than 256.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68946 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
14b9ed13e7
commit
12f23a86e2
@ -939,7 +939,7 @@ LowerDirectCallArguments(SDValue Op, SDValue Chain, SDValue FrameAddress,
|
|||||||
|
|
||||||
Ops.clear();
|
Ops.clear();
|
||||||
Ops.push_back(Chain);
|
Ops.push_back(Chain);
|
||||||
Ops.push_back(Arg.getValue(0));
|
Ops.push_back(Arg);
|
||||||
Ops.push_back(PtrLo);
|
Ops.push_back(PtrLo);
|
||||||
Ops.push_back(PtrHi);
|
Ops.push_back(PtrHi);
|
||||||
Ops.push_back(DAG.getConstant(StoreOffset, MVT::i8));
|
Ops.push_back(DAG.getConstant(StoreOffset, MVT::i8));
|
||||||
|
Loading…
Reference in New Issue
Block a user