[llvm] r175121 - Don't assume the mangling of static functions.
Rafael Espindola
rafael.espindola at gmail.com
Wed Feb 13 18:49:19 PST 2013
Author: rafael
Date: Wed Feb 13 20:49:18 2013
New Revision: 175121
URL: http://llvm.org/viewvc/llvm-project?rev=175121&view=rev
Log:
Don't assume the mangling of static functions.
Modified:
llvm/trunk/lib/Target/X86/X86JITInfo.cpp
Modified: llvm/trunk/lib/Target/X86/X86JITInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86JITInfo.cpp?rev=175121&r1=175120&r2=175121&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86JITInfo.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86JITInfo.cpp Wed Feb 13 20:49:18 2013
@@ -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];
More information about the llvm-commits
mailing list