[llvm-commits] CVS: llvm/lib/Reoptimizer/TraceCache/InstrUtils.cpp
Vikram Adve
vadve at psmith.cs.uiuc.edu
Fri Sep 20 13:53:00 PDT 2002
Changes in directory llvm/lib/Reoptimizer/TraceCache:
InstrUtils.cpp updated: 1.3 -> 1.4
---
Log message:
Fix ifdef to compile on Sparc systems only.
---
Diffs of the changes:
Index: llvm/lib/Reoptimizer/TraceCache/InstrUtils.cpp
diff -u llvm/lib/Reoptimizer/TraceCache/InstrUtils.cpp:1.3 llvm/lib/Reoptimizer/TraceCache/InstrUtils.cpp:1.4
--- llvm/lib/Reoptimizer/TraceCache/InstrUtils.cpp:1.3 Fri Sep 20 12:10:57 2002
+++ llvm/lib/Reoptimizer/TraceCache/InstrUtils.cpp Fri Sep 20 13:52:47 2002
@@ -4,10 +4,9 @@
//
//===----------------------------------------------------------------------===//
-//This file uses gcc 3.1 specific syntax
-//So to compile it with gcc 3.1
-//Remove #if 0 and corresponding #endif if gcc version is 3.1
-//#if 0
+// This file can only be compiled for a Sparc V9 architecture.
+//
+#ifdef __sparc
#include "llvm/Reoptimizer/InstrUtils.h"
#include <assert.h>
@@ -173,4 +172,4 @@
}
}
-//#endif
+#endif
More information about the llvm-commits
mailing list