mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-12 06:31:14 +00:00
Don't assume the mangling of static functions.
llvm-svn: 175121
This commit is contained in:
parent
cd4cd16ea7
commit
d214fef222
@ -342,12 +342,6 @@ extern "C" {
|
||||
/// must locate the start of the stub or call site and pass it into the JIT
|
||||
/// compiler function.
|
||||
extern "C" {
|
||||
#if !(defined (X86_64_JIT) && defined(_MSC_VER))
|
||||
// the following function is called only from this translation unit,
|
||||
// unless we are under 64bit Windows with MSC, where there is
|
||||
// no support for inline assembly
|
||||
static
|
||||
#endif
|
||||
void LLVM_ATTRIBUTE_USED
|
||||
X86CompilationCallback2(intptr_t *StackPtr, intptr_t RetAddr) {
|
||||
intptr_t *RetAddrLoc = &StackPtr[1];
|
||||
|
Loading…
x
Reference in New Issue
Block a user