summaryrefslogtreecommitdiffstats
path: root/lib/Target
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-11-20 23:21:00 +0000
committerDan Gohman <gohman@apple.com>2009-11-20 23:21:00 +0000
commit9b9d2a5f2053a53da30f4bc42f18df77646ca3a9 (patch)
tree52120339e40d24620adfd9bb67ade9a257b70319 /lib/Target
parent885793baaed110c848ccfdfb460bbc91774d8981 (diff)
downloadexternal_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.cpp4
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);