mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-30 00:24:00 +00:00
add method stub
llvm-svn: 19612
This commit is contained in:
parent
907534af24
commit
835a5efef3
@ -741,6 +741,11 @@ TargetLowering::LowerFrameReturnAddress(bool isFrameAddr, SDOperand Chain,
|
|||||||
return std::make_pair(DAG.getConstant(0, getPointerTy()), Chain);
|
return std::make_pair(DAG.getConstant(0, getPointerTy()), Chain);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
SDOperand TargetLowering::LowerOperation(SDOperand Op) {
|
||||||
|
assert(0 && "LowerOperation not implemented for this target!");
|
||||||
|
abort();
|
||||||
|
}
|
||||||
|
|
||||||
void SelectionDAGLowering::visitFrameReturnAddress(CallInst &I, bool isFrame) {
|
void SelectionDAGLowering::visitFrameReturnAddress(CallInst &I, bool isFrame) {
|
||||||
unsigned Depth = (unsigned)cast<ConstantUInt>(I.getOperand(1))->getValue();
|
unsigned Depth = (unsigned)cast<ConstantUInt>(I.getOperand(1))->getValue();
|
||||||
std::pair<SDOperand,SDOperand> Result =
|
std::pair<SDOperand,SDOperand> Result =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user