diff options
| author | Evan Cheng <evan.cheng@apple.com> | 2008-11-08 08:02:53 +0000 | 
|---|---|---|
| committer | Evan Cheng <evan.cheng@apple.com> | 2008-11-08 08:02:53 +0000 | 
| commit | b31a7175275d254335df994c1cc370af93c65551 (patch) | |
| tree | 95808736b7fd3a84828c6e717e9647215a127d77 /llvm/lib/CodeGen | |
| parent | 98161f5f3455110c3c4830ee26ccb49d859be7f0 (diff) | |
| download | bcm5719-llvm-b31a7175275d254335df994c1cc370af93c65551.tar.gz bcm5719-llvm-b31a7175275d254335df994c1cc370af93c65551.zip | |
Rename startFunctionStub to startGVStub since it's also used for GV non-lazy ptr.
llvm-svn: 58897
Diffstat (limited to 'llvm/lib/CodeGen')
| -rw-r--r-- | llvm/lib/CodeGen/ELFWriter.cpp | 6 | ||||
| -rw-r--r-- | llvm/lib/CodeGen/MachOWriter.cpp | 6 | 
2 files changed, 6 insertions, 6 deletions
| diff --git a/llvm/lib/CodeGen/ELFWriter.cpp b/llvm/lib/CodeGen/ELFWriter.cpp index 0b6e0b1b103..ea12d503a50 100644 --- a/llvm/lib/CodeGen/ELFWriter.cpp +++ b/llvm/lib/CodeGen/ELFWriter.cpp @@ -115,12 +115,12 @@ namespace llvm {      /// JIT SPECIFIC FUNCTIONS - DO NOT IMPLEMENT THESE HERE! -    void startFunctionStub(const GlobalValue* F, unsigned StubSize, -                           unsigned Alignment = 1) { +    void startGVStub(const GlobalValue* F, unsigned StubSize, +                     unsigned Alignment = 1) {        assert(0 && "JIT specific function called!");        abort();      } -    void *finishFunctionStub(const GlobalValue *F) { +    void *finishGVStub(const GlobalValue *F) {        assert(0 && "JIT specific function called!");        abort();        return 0; diff --git a/llvm/lib/CodeGen/MachOWriter.cpp b/llvm/lib/CodeGen/MachOWriter.cpp index e90f1e9c105..613f680bc79 100644 --- a/llvm/lib/CodeGen/MachOWriter.cpp +++ b/llvm/lib/CodeGen/MachOWriter.cpp @@ -142,12 +142,12 @@ namespace llvm {      virtual void setModuleInfo(llvm::MachineModuleInfo* MMI) { }      /// JIT SPECIFIC FUNCTIONS - DO NOT IMPLEMENT THESE HERE! -    virtual void startFunctionStub(const GlobalValue* F, unsigned StubSize, -                                   unsigned Alignment = 1) { +    virtual void startGVStub(const GlobalValue* F, unsigned StubSize, +                             unsigned Alignment = 1) {        assert(0 && "JIT specific function called!");        abort();      } -    virtual void *finishFunctionStub(const GlobalValue* F) { +    virtual void *finishGVStub(const GlobalValue* F) {        assert(0 && "JIT specific function called!");        abort();        return 0; | 

