diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-02-14 02:49:18 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-02-14 02:49:18 +0000 |
commit | ad236eb8c6fec966463fd7186b582284e1dcdb1b (patch) | |
tree | 15712582a3a922ebe4437c3a46a6fd49317d861d /lib | |
parent | 382a5530ec0682d8dd17f7d9212f52ace38460ed (diff) | |
download | external_llvm-ad236eb8c6fec966463fd7186b582284e1dcdb1b.zip external_llvm-ad236eb8c6fec966463fd7186b582284e1dcdb1b.tar.gz external_llvm-ad236eb8c6fec966463fd7186b582284e1dcdb1b.tar.bz2 |
Don't assume the mangling of static functions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175121 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Target/X86/X86JITInfo.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/Target/X86/X86JITInfo.cpp b/lib/Target/X86/X86JITInfo.cpp index 0a4acce..2e003f7 100644 --- a/lib/Target/X86/X86JITInfo.cpp +++ b/lib/Target/X86/X86JITInfo.cpp @@ -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]; |