Skip to content

Commit

Permalink
Simplify.
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@285802 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
jsonn committed Nov 2, 2016
1 parent ef86dbb commit e0263f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3550,9 +3550,9 @@ bool SelectionDAGLegalize::ExpandNode(SDNode *Node) {
SDValue Table = Node->getOperand(1);
SDValue Index = Node->getOperand(2);

EVT PTy = TLI.getPointerTy(DAG.getDataLayout());

const DataLayout &TD = DAG.getDataLayout();
EVT PTy = TLI.getPointerTy(TD);

unsigned EntrySize =
DAG.getMachineFunction().getJumpTableInfo()->getEntrySize(TD);

Expand Down

0 comments on commit e0263f5

Please sign in to comment.