projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f872940
)
Use __attribute__((noinline)) only if compiled by gcc.
author
Evan Cheng
<evan.cheng@apple.com>
Sun, 16 Jul 2006 06:14:37 +0000
(06:14 +0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Sun, 16 Jul 2006 06:14:37 +0000
(06:14 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29161
91177308
-0d34-0410-b5e6-
96231b3b80d8
utils/TableGen/DAGISelEmitter.cpp
patch
|
blob
|
history
diff --git
a/utils/TableGen/DAGISelEmitter.cpp
b/utils/TableGen/DAGISelEmitter.cpp
index eca851c5f699ad18ad581d4bda15ce8a6f3131ee..a28b62eaf34350471faeb4991256ba17410b4225 100644
(file)
--- a/
utils/TableGen/DAGISelEmitter.cpp
+++ b/
utils/TableGen/DAGISelEmitter.cpp
@@
-3349,7
+3349,7
@@
void DAGISelEmitter::EmitInstructionSelector(std::ostream &OS) {
}
CallerCode += ");";
CalleeCode += ") ";
-#if
ndef _MSC_VER
+#if
def __GNUC__
// Prevent emission routines from being inlined to reduce selection
// routines stack frame sizes.
CalleeCode += "__attribute__((noinline)) ";