OSDN Git Service

scrape out bits of llvm-db
authorChris Lattner <sabre@nondot.org>
Fri, 10 Mar 2006 22:48:19 +0000 (22:48 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 10 Mar 2006 22:48:19 +0000 (22:48 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26701 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp

index fc8e560..96694da 100644 (file)
@@ -965,9 +965,6 @@ SelectionDAGLowering::visitIntrinsicCall(CallInst &I, unsigned Intrinsic) {
     return 0;
     
   case Intrinsic::dbg_stoppoint: {
-    if (TLI.getTargetMachine().getIntrinsicLowering().EmitDebugFunctions())
-      return "llvm_debugger_stop";
-    
     MachineDebugInfo *DebugInfo = DAG.getMachineDebugInfo();
     if (DebugInfo &&  DebugInfo->Verify(I.getOperand(4))) {
       std::vector<SDOperand> Ops;
@@ -996,20 +993,14 @@ SelectionDAGLowering::visitIntrinsicCall(CallInst &I, unsigned Intrinsic) {
     return 0;
   }
   case Intrinsic::dbg_region_start:
-    if (TLI.getTargetMachine().getIntrinsicLowering().EmitDebugFunctions())
-      return "llvm_dbg_region_start";
     if (I.getType() != Type::VoidTy)
       setValue(&I, DAG.getNode(ISD::UNDEF, TLI.getValueType(I.getType())));
     return 0;
   case Intrinsic::dbg_region_end:
-    if (TLI.getTargetMachine().getIntrinsicLowering().EmitDebugFunctions())
-      return "llvm_dbg_region_end";
     if (I.getType() != Type::VoidTy)
       setValue(&I, DAG.getNode(ISD::UNDEF, TLI.getValueType(I.getType())));
     return 0;
   case Intrinsic::dbg_func_start:
-    if (TLI.getTargetMachine().getIntrinsicLowering().EmitDebugFunctions())
-      return "llvm_dbg_subprogram";
     if (I.getType() != Type::VoidTy)
       setValue(&I, DAG.getNode(ISD::UNDEF, TLI.getValueType(I.getType())));
     return 0;