mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +00:00
unbreak calls, a few more tests should run. Tomorrow: bugpoint!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25010 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
806b89382a
commit
b13d74a49a
@ -352,7 +352,6 @@ SDOperand IA64DAGToDAGISel::Select(SDOperand Op) {
|
|||||||
|
|
||||||
unsigned CallOpcode;
|
unsigned CallOpcode;
|
||||||
SDOperand CallOperand;
|
SDOperand CallOperand;
|
||||||
std::vector<MVT::ValueType> TypeOperands;
|
|
||||||
|
|
||||||
// if we can call directly, do so
|
// if we can call directly, do so
|
||||||
if (GlobalAddressSDNode *GASD =
|
if (GlobalAddressSDNode *GASD =
|
||||||
@ -395,7 +394,7 @@ SDOperand IA64DAGToDAGISel::Select(SDOperand Op) {
|
|||||||
|
|
||||||
// Finally, once everything is setup, emit the call itself
|
// Finally, once everything is setup, emit the call itself
|
||||||
if(InFlag.Val)
|
if(InFlag.Val)
|
||||||
Chain = CurDAG->getTargetNode(CallOpcode, MVT::Other, MVT::Flag, CallOperand, Chain, InFlag);
|
Chain = CurDAG->getTargetNode(CallOpcode, MVT::Other, MVT::Flag, CallOperand, InFlag);
|
||||||
else // there might be no arguments
|
else // there might be no arguments
|
||||||
Chain = CurDAG->getTargetNode(CallOpcode, MVT::Other, MVT::Flag, CallOperand, Chain);
|
Chain = CurDAG->getTargetNode(CallOpcode, MVT::Other, MVT::Flag, CallOperand, Chain);
|
||||||
InFlag = Chain.getValue(1);
|
InFlag = Chain.getValue(1);
|
||||||
|
Loading…
Reference in New Issue
Block a user