Temporarily disable my changes to unbreak the build.
authorEvan Cheng <evan.cheng@apple.com>
Thu, 29 Apr 2010 03:34:19 +0000 (03:34 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Thu, 29 Apr 2010 03:34:19 +0000 (03:34 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102590 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp

index 38e0c29d98c7193822a224cc31345cb609a329a9..fe52040d45cdce37e087a9fff5b8e6c17890b7da 100644 (file)
@@ -3896,11 +3896,15 @@ SelectionDAGBuilder::visitIntrinsicCall(const CallInst &I, unsigned Intrinsic) {
     } else {
       SDValue &N = NodeMap[V];
       if (N.getNode()) {
+#if 0
         if (!EmitFuncArgumentDbgValue(DI, V, Variable, Offset, N)) {
+#endif
           SDV = DAG.getDbgValue(Variable, N.getNode(),
                                 N.getResNo(), Offset, dl, SDNodeOrder);
           DAG.AddDbgValue(SDV, N.getNode(), false);
+#if 0
         }
+#endif
       } else {
         // We may expand this to cover more cases.  One case where we have no
         // data available is an unreferenced parameter; we need this fallback.
index adb321d929cfecf3faedfa64d47677efe74172a7..7c4ad6d03d570f836be42e799c57b2a44bf78737 100644 (file)
@@ -212,12 +212,15 @@ bool SelectionDAGISel::runOnMachineFunction(MachineFunction &mf) {
 
   SelectAllBasicBlocks(Fn);
 
+  FuncInfo->clear();
+
   // If the first basic block in the function has live ins that need to be
   // copied into vregs, emit the copies into the top of the block before
   // emitting the code for the block.
   MachineBasicBlock *EntryMBB = MF->begin();
   RegInfo->EmitLiveInCopies(EntryMBB, TRI, TII);
 
+#if 0
   // Insert DBG_VALUE instructions for function arguments to the entry block.
   for (unsigned i = 0, e = FuncInfo->ArgDbgValues.size(); i != e; ++i) {
     MachineInstr *MI = FuncInfo->ArgDbgValues[e-i-1];
@@ -234,6 +237,7 @@ bool SelectionDAGISel::runOnMachineFunction(MachineFunction &mf) {
   // Release function-specific state. SDB and CurDAG are already cleared
   // at this point.
   FuncInfo->clear();
+#endif
 
   return true;
 }