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 | ce4a70bd7608861e104b04265a0c71e5df8ecefe (patch) | |
tree | 5baf5280b91d06827536a7d8a11640a6aedc39f3 /lib/CodeGen | |
parent | 3cc8223a3c062daee763d6db272415a76de38a78 (diff) | |
download | external_llvm-ce4a70bd7608861e104b04265a0c71e5df8ecefe.tar.gz external_llvm-ce4a70bd7608861e104b04265a0c71e5df8ecefe.tar.bz2 external_llvm-ce4a70bd7608861e104b04265a0c71e5df8ecefe.zip |
Rename startFunctionStub to startGVStub since it's also used for GV non-lazy ptr.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58897 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rw-r--r-- | lib/CodeGen/ELFWriter.cpp | 6 | ||||
-rw-r--r-- | lib/CodeGen/MachOWriter.cpp | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/lib/CodeGen/ELFWriter.cpp b/lib/CodeGen/ELFWriter.cpp index 0b6e0b1b10..ea12d503a5 100644 --- a/lib/CodeGen/ELFWriter.cpp +++ b/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/lib/CodeGen/MachOWriter.cpp b/lib/CodeGen/MachOWriter.cpp index e90f1e9c10..613f680bc7 100644 --- a/lib/CodeGen/MachOWriter.cpp +++ b/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; |