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 | d67b3a8bf75d4d3c50263960a9375e6856588f2c (patch) | |
tree | e9549d130101235c68ce435d42ed248d5040abf9 /lib/CodeGen | |
parent | 9b08fec8bb3130690c6cf16e9476762b769dc23a (diff) |
dbg.stoppoint returns a value, don't forget to init it
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24583 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rw-r--r-- | lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index 30d94337e9..1d92bcb4f7 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/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: |