diff options
author | Jim Laskey <jlaskey@mac.com> | 2006-03-13 13:07:37 +0000 |
---|---|---|
committer | Jim Laskey <jlaskey@mac.com> | 2006-03-13 13:07:37 +0000 |
commit | f4321a3a438833dade457e24da6e1e6907cabcd5 (patch) | |
tree | c85d66c8eed932ec34c564ea47ab1fc2a30b1eeb /lib/CodeGen/IntrinsicLowering.cpp | |
parent | 2e8a77ff42a325463f40a67e46b2eeb9ce05a350 (diff) |
Handle the removal of the debug chain.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26729 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/IntrinsicLowering.cpp')
-rw-r--r-- | lib/CodeGen/IntrinsicLowering.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/CodeGen/IntrinsicLowering.cpp b/lib/CodeGen/IntrinsicLowering.cpp index 82ca3c254b..316d1ad2f6 100644 --- a/lib/CodeGen/IntrinsicLowering.cpp +++ b/lib/CodeGen/IntrinsicLowering.cpp @@ -403,8 +403,6 @@ void DefaultIntrinsicLowering::LowerIntrinsicCall(CallInst *CI) { case Intrinsic::dbg_region_start: case Intrinsic::dbg_region_end: case Intrinsic::dbg_func_start: - if (CI->getType() != Type::VoidTy) - CI->replaceAllUsesWith(Constant::getNullValue(CI->getType())); break; // Simply strip out debugging intrinsics case Intrinsic::memcpy_i32: |