summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-12-03 18:50:48 +0000
committerChris Lattner <sabre@nondot.org>2005-12-03 18:50:48 +0000
commit8782b782cd454f9ae4414cd0ca38622811f31453 (patch)
tree939781094d9e1db89de043ebf42817e09274b1ee /llvm/lib/CodeGen
parent3339c6a1f6a94d0b35584ef9d6805f2a209a2bc4 (diff)
downloadbcm5719-llvm-8782b782cd454f9ae4414cd0ca38622811f31453.tar.gz
bcm5719-llvm-8782b782cd454f9ae4414cd0ca38622811f31453.zip
dbg.stoppoint returns a value, don't forget to init it
llvm-svn: 24583
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
index 30d94337e91..1d92bcb4f7d 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
@@ -891,6 +891,7 @@ SelectionDAGLowering::visitIntrinsicCall(CallInst &I, unsigned Intrinsic) {
Ops.push_back(DAG.getString(fname));
Ops.push_back(DAG.getString(""));
DAG.setRoot(DAG.getNode(ISD::LOCATION, MVT::Other, Ops));
+ setValue(&I, DAG.getNode(ISD::UNDEF, TLI.getValueType(I.getType())));
return 0;
}
case Intrinsic::dbg_region_start:
OpenPOWER on IntegriCloud