diff options
| author | Bill Wendling <isanbard@gmail.com> | 2011-07-29 01:15:29 +0000 |
|---|---|---|
| committer | Bill Wendling <isanbard@gmail.com> | 2011-07-29 01:15:29 +0000 |
| commit | 7eadbeaf62b9292d31a844b3dd1dbcaa9e102fdb (patch) | |
| tree | 99add5a9f846645a0ceeee3332695bb56403ef8f /llvm/lib/CodeGen | |
| parent | 6a8cac735a3becb6a363f63165ebd7b07e49499f (diff) | |
| download | bcm5719-llvm-7eadbeaf62b9292d31a844b3dd1dbcaa9e102fdb.tar.gz bcm5719-llvm-7eadbeaf62b9292d31a844b3dd1dbcaa9e102fdb.zip | |
Use the pointer type size.
With this, we can now compile a simple EH program.
llvm-svn: 136446
Diffstat (limited to 'llvm/lib/CodeGen')
| -rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp index d1cab604cb1..498e1d37401 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp @@ -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); |

