mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-19 20:34:38 +00:00
Use the pointer type size.
With this, we can now compile a simple EH program. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136446 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7d44c45351
commit
741bf790b8
@ -1834,7 +1834,7 @@ void SelectionDAGBuilder::visitLandingPad(const LandingPadInst &LP) {
|
||||
SDValue Chain = Op1.getValue(1);
|
||||
|
||||
// Insert the EHSELECTION instruction.
|
||||
VTs = DAG.getVTList(ValueVTs[1], MVT::Other);
|
||||
VTs = DAG.getVTList(TLI.getPointerTy(), MVT::Other);
|
||||
Ops[0] = Op1;
|
||||
Ops[1] = Chain;
|
||||
SDValue Op2 = DAG.getNode(ISD::EHSELECTION, getCurDebugLoc(), VTs, Ops, 2);
|
||||
|
Loading…
x
Reference in New Issue
Block a user