diff options
author | Dan Gohman <gohman@apple.com> | 2009-11-20 23:21:00 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-11-20 23:21:00 +0000 |
commit | 9b9d2a5f2053a53da30f4bc42f18df77646ca3a9 (patch) | |
tree | 52120339e40d24620adfd9bb67ade9a257b70319 /lib/Target | |
parent | 885793baaed110c848ccfdfb460bbc91774d8981 (diff) | |
download | external_llvm-9b9d2a5f2053a53da30f4bc42f18df77646ca3a9.zip external_llvm-9b9d2a5f2053a53da30f4bc42f18df77646ca3a9.tar.gz external_llvm-9b9d2a5f2053a53da30f4bc42f18df77646ca3a9.tar.bz2 |
Update for new getBlockAddress signature.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89507 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target')
-rw-r--r-- | lib/Target/MSP430/MSP430ISelDAGToDAG.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/MSP430/MSP430ISelDAGToDAG.cpp b/lib/Target/MSP430/MSP430ISelDAGToDAG.cpp index c0084be..beccb2c 100644 --- a/lib/Target/MSP430/MSP430ISelDAGToDAG.cpp +++ b/lib/Target/MSP430/MSP430ISelDAGToDAG.cpp @@ -312,8 +312,8 @@ bool MSP430DAGToDAGISel::SelectAddr(SDValue Op, SDValue N, else if (AM.JT != -1) Disp = CurDAG->getTargetJumpTable(AM.JT, MVT::i16, 0/*AM.SymbolFlags*/); else if (AM.BlockAddr) - Disp = CurDAG->getBlockAddress(AM.BlockAddr, DebugLoc()/*MVT::i32*/, - true /*AM.SymbolFlags*/); + Disp = CurDAG->getBlockAddress(AM.BlockAddr, MVT::i32, + true, 0/*AM.SymbolFlags*/); else Disp = CurDAG->getTargetConstant(AM.Disp, MVT::i16); |