diff options
| author | Anton Korobeynikov <asl@math.spbu.ru> | 2009-07-16 14:36:52 +0000 | 
|---|---|---|
| committer | Anton Korobeynikov <asl@math.spbu.ru> | 2009-07-16 14:36:52 +0000 | 
| commit | 02fc607d54a27d42607dfac0506b24f8661947e1 (patch) | |
| tree | deba4ab8f09525884ca07d012ce386b65c20c19b /llvm/lib/Target/SystemZ/SystemZISelLowering.cpp | |
| parent | 73fcd3d9625e579cbd205817ff6731e8ffb5aae2 (diff) | |
| download | bcm5719-llvm-02fc607d54a27d42607dfac0506b24f8661947e1.tar.gz bcm5719-llvm-02fc607d54a27d42607dfac0506b24f8661947e1.zip  | |
Unbreak
llvm-svn: 76064
Diffstat (limited to 'llvm/lib/Target/SystemZ/SystemZISelLowering.cpp')
| -rw-r--r-- | llvm/lib/Target/SystemZ/SystemZISelLowering.cpp | 9 | 
1 files changed, 5 insertions, 4 deletions
diff --git a/llvm/lib/Target/SystemZ/SystemZISelLowering.cpp b/llvm/lib/Target/SystemZ/SystemZISelLowering.cpp index 239a179e02e..46e0459e4c9 100644 --- a/llvm/lib/Target/SystemZ/SystemZISelLowering.cpp +++ b/llvm/lib/Target/SystemZ/SystemZISelLowering.cpp @@ -203,7 +203,7 @@ SDValue SystemZTargetLowering::LowerCCCArguments(SDValue Op,    // Assign locations to all of the incoming arguments.    SmallVector<CCValAssign, 16> ArgLocs; -  CCState CCInfo(CC, isVarArg, getTargetMachine(), ArgLocs); +  CCState CCInfo(CC, isVarArg, getTargetMachine(), ArgLocs, DAG.getContext());    CCInfo.AnalyzeFormalArguments(Op.getNode(), CC_SystemZ);    assert(!isVarArg && "Varargs not supported yet"); @@ -292,7 +292,7 @@ SDValue SystemZTargetLowering::LowerCCCCallTo(SDValue Op, SelectionDAG &DAG,    // Analyze operands of the call, assigning locations to each operand.    SmallVector<CCValAssign, 16> ArgLocs; -  CCState CCInfo(CC, isVarArg, getTargetMachine(), ArgLocs); +  CCState CCInfo(CC, isVarArg, getTargetMachine(), ArgLocs, DAG.getContext());    CCInfo.AnalyzeCallOperands(TheCall, CC_SystemZ); @@ -422,7 +422,8 @@ SystemZTargetLowering::LowerCallResult(SDValue Chain, SDValue InFlag,    // Assign locations to each value returned by this call.    SmallVector<CCValAssign, 16> RVLocs; -  CCState CCInfo(CallingConv, isVarArg, getTargetMachine(), RVLocs); +  CCState CCInfo(CallingConv, isVarArg, getTargetMachine(), RVLocs, +                 DAG.getContext());    CCInfo.AnalyzeCallResult(TheCall, RetCC_SystemZ);    SmallVector<SDValue, 8> ResultVals; @@ -468,7 +469,7 @@ SDValue SystemZTargetLowering::LowerRET(SDValue Op, SelectionDAG &DAG) {    DebugLoc dl = Op.getDebugLoc();    // CCState - Info about the registers and stack slot. -  CCState CCInfo(CC, isVarArg, getTargetMachine(), RVLocs); +  CCState CCInfo(CC, isVarArg, getTargetMachine(), RVLocs, DAG.getContext());    // Analize return values of ISD::RET    CCInfo.AnalyzeReturn(Op.getNode(), RetCC_SystemZ);  | 

