mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-26 13:10:34 +00:00
Remove dead method
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28055 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
15bddb96c3
commit
b0cc79d45b
@ -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");
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user