projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use __attribute__((noinline)) only if compiled by gcc.
[oota-llvm.git]
/
utils
/
TableGen
/
DAGISelEmitter.cpp
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)) ";