[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp
Evan Cheng
evan.cheng at apple.com
Sat Jul 15 23:14:50 PDT 2006
Changes in directory llvm/utils/TableGen:
DAGISelEmitter.cpp updated: 1.221 -> 1.222
---
Log message:
Use __attribute__((noinline)) only if compiled by gcc.
---
Diffs of the changes: (+1 -1)
DAGISelEmitter.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/utils/TableGen/DAGISelEmitter.cpp
diff -u llvm/utils/TableGen/DAGISelEmitter.cpp:1.221 llvm/utils/TableGen/DAGISelEmitter.cpp:1.222
--- llvm/utils/TableGen/DAGISelEmitter.cpp:1.221 Sun Jul 16 01:12:52 2006
+++ llvm/utils/TableGen/DAGISelEmitter.cpp Sun Jul 16 01:14:37 2006
@@ -3349,7 +3349,7 @@
}
CallerCode += ");";
CalleeCode += ") ";
-#ifndef _MSC_VER
+#ifdef __GNUC__
// Prevent emission routines from being inlined to reduce selection
// routines stack frame sizes.
CalleeCode += "__attribute__((noinline)) ";
More information about the llvm-commits
mailing list