[llvm-commits] CVS: llvm/include/llvm/Target/TargetJITInfo.h

Evan Cheng evan.cheng at apple.com
Thu Jul 27 11:19:40 PDT 2006



Changes in directory llvm/include/llvm/Target:

TargetJITInfo.h updated: 1.9 -> 1.10
---
Log message:

Resolve BB references with relocation.

---
Diffs of the changes:  (+0 -14)

 TargetJITInfo.h |   14 --------------
 1 files changed, 14 deletions(-)


Index: llvm/include/llvm/Target/TargetJITInfo.h
diff -u llvm/include/llvm/Target/TargetJITInfo.h:1.9 llvm/include/llvm/Target/TargetJITInfo.h:1.10
--- llvm/include/llvm/Target/TargetJITInfo.h:1.9	Thu Jul 27 01:33:55 2006
+++ llvm/include/llvm/Target/TargetJITInfo.h	Thu Jul 27 13:19:24 2006
@@ -83,26 +83,12 @@
       assert(NumRelocs == 0 && "This target does not have relocations!");
     }
 
-    /// resolveBBRefs - Resolve branches to BasicBlocks for the JIT emitted
-    /// function.
-    virtual void resolveBBRefs(MachineCodeEmitter &MCE) {}
-
-    /// addBBRef - Add a BasicBlock reference to be resolved after the function
-    /// is emitted.
-    void addBBRef(MachineBasicBlock *BB, intptr_t PC) {
-      BBRefs.push_back(std::make_pair(BB, PC));
-    }
-
     /// needsGOT - Allows a target to specify that it would like the
     // JIT to manage a GOT for it.
     bool needsGOT() const { return useGOT; }
 
   protected:
     bool useGOT;
-
-    // Tracks which instruction references which BasicBlock
-    std::vector<std::pair<MachineBasicBlock*, intptr_t> > BBRefs;
-    
   };
 } // End llvm namespace
 






More information about the llvm-commits mailing list