Remove dead method
authorChris Lattner <sabre@nondot.org>
Tue, 2 May 2006 17:20:28 +0000 (17:20 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 2 May 2006 17:20:28 +0000 (17:20 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28055 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/ELFWriter.cpp
lib/CodeGen/MachineCodeEmitter.cpp
lib/ExecutionEngine/JIT/JITEmitter.cpp

index 4be24198864dba389efaaf4f2c981c8bb4512313..a802c1aa793ea5b80cdd0c66d16eda0adb13c3e4 100644 (file)
@@ -65,9 +65,6 @@ namespace llvm {
     virtual void emitByte(unsigned char B) {
       OutBuffer->push_back(B);
     }
-    virtual void emitWordAt(unsigned W, unsigned *Ptr) {
-      assert(0 && "ni");
-    }
     virtual void emitWord(unsigned W) {
       assert(0 && "ni");
     }
index a33552ca8721dc98017f060bc6b51181e5e8c795..301d9afb8ae18ab439a88e99f4192edf65f063de 100644 (file)
@@ -14,7 +14,6 @@
 #include "llvm/CodeGen/MachineCodeEmitter.h"
 #include <fstream>
 #include <iostream>
-
 using namespace llvm;
 
 namespace {
@@ -105,9 +104,6 @@ namespace {
     void emitWord(unsigned W) {
       MCE.emitWord(W);
     }
-    void emitWordAt(unsigned W, unsigned *Ptr) {
-      MCE.emitWordAt(W, Ptr);
-    }
     uint64_t getConstantPoolEntryAddress(unsigned Num) {
       return MCE.getConstantPoolEntryAddress(Num);
     }
index d556e9a47ae8c78f1cbf2900a0cda252fface154..cbe8f7af5557eb486aacec69e4838b4ba7810a79 100644 (file)
@@ -458,7 +458,6 @@ public:
     virtual void* finishFunctionStub(const Function *F);
     virtual void emitByte(unsigned char B);
     virtual void emitWord(unsigned W);
-    virtual void emitWordAt(unsigned W, unsigned *Ptr);
 
     virtual void addRelocation(const MachineRelocation &MR) {
       Relocations.push_back(MR);
@@ -671,10 +670,6 @@ void JITEmitter::emitWord(unsigned W) {
   CurByte += sizeof(unsigned);
 }
 
-void JITEmitter::emitWordAt(unsigned W, unsigned *Ptr) {
-  *Ptr = W;
-}
-
 // getConstantPoolEntryAddress - Return the address of the 'ConstantNum' entry
 // in the constant pool that was last emitted with the 'emitConstantPool'
 // method.