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 /include/llvm/CodeGen/MachineCodeEmitter.h | |
parent | 3cc8223a3c062daee763d6db272415a76de38a78 (diff) |
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 'include/llvm/CodeGen/MachineCodeEmitter.h')
-rw-r--r-- | include/llvm/CodeGen/MachineCodeEmitter.h | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/include/llvm/CodeGen/MachineCodeEmitter.h b/include/llvm/CodeGen/MachineCodeEmitter.h index 822fced4cd..a14e4c13fb 100644 --- a/include/llvm/CodeGen/MachineCodeEmitter.h +++ b/include/llvm/CodeGen/MachineCodeEmitter.h @@ -75,19 +75,16 @@ public: /// virtual bool finishFunction(MachineFunction &F) = 0; - /// startFunctionStub - This callback is invoked when the JIT needs the - /// address of a function that has not been code generated yet. The StubSize - /// specifies the total size required by the stub. Stubs are not allowed to - /// have constant pools, the can only use the other emitByte*/emitWord* - /// methods. + /// startGVStub - This callback is invoked when the JIT needs the + /// address of a GV (e.g. function) that has not been code generated yet. + /// The StubSize specifies the total size required by the stub. /// - virtual void startFunctionStub(const GlobalValue* F, unsigned StubSize, - unsigned Alignment = 1) = 0; + virtual void startGVStub(const GlobalValue* GV, unsigned StubSize, + unsigned Alignment = 1) = 0; - /// finishFunctionStub - This callback is invoked to terminate a function - /// stub. + /// finishGVStub - This callback is invoked to terminate a GV stub. /// - virtual void *finishFunctionStub(const GlobalValue* F) = 0; + virtual void *finishGVStub(const GlobalValue* F) = 0; /// emitByte - This callback is invoked when a byte needs to be written to the /// output stream. |