diff options
author | Chris Lattner <sabre@nondot.org> | 2005-12-03 18:50:48 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-12-03 18:50:48 +0000 |
commit | 8782b782cd454f9ae4414cd0ca38622811f31453 (patch) | |
tree | 939781094d9e1db89de043ebf42817e09274b1ee /llvm/lib/CodeGen | |
parent | 3339c6a1f6a94d0b35584ef9d6805f2a209a2bc4 (diff) | |
download | bcm5719-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.cpp | 1 |
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: |