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/Target/Alpha/AlphaJITInfo.cpp | |
parent | 3cc8223a3c062daee763d6db272415a76de38a78 (diff) | |
download | external_llvm-ce4a70bd7608861e104b04265a0c71e5df8ecefe.zip external_llvm-ce4a70bd7608861e104b04265a0c71e5df8ecefe.tar.gz external_llvm-ce4a70bd7608861e104b04265a0c71e5df8ecefe.tar.bz2 |
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/Target/Alpha/AlphaJITInfo.cpp')
-rw-r--r-- | lib/Target/Alpha/AlphaJITInfo.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/Alpha/AlphaJITInfo.cpp b/lib/Target/Alpha/AlphaJITInfo.cpp index 4fd0ebc..8f36c1f 100644 --- a/lib/Target/Alpha/AlphaJITInfo.cpp +++ b/lib/Target/Alpha/AlphaJITInfo.cpp @@ -195,13 +195,13 @@ void *AlphaJITInfo::emitFunctionStub(const Function* F, void *Fn, MachineCodeEmitter &MCE) { //assert(Fn == AlphaCompilationCallback && "Where are you going?\n"); //Do things in a stupid slow way! - MCE.startFunctionStub(F, 19*4); + MCE.startGVStub(F, 19*4); void* Addr = (void*)(intptr_t)MCE.getCurrentPCValue(); for (int x = 0; x < 19; ++ x) MCE.emitWordLE(0); EmitBranchToAt(Addr, Fn); DOUT << "Emitting Stub to " << Fn << " at [" << Addr << "]\n"; - return MCE.finishFunctionStub(F); + return MCE.finishGVStub(F); } TargetJITInfo::LazyResolverFn |