[llvm-commits] CVS: llvm/lib/Target/X86/X86FloatingPoint.cpp
Jim Laskey
jlaskey at apple.com
Wed Jul 19 12:33:21 PDT 2006
Changes in directory llvm/lib/Target/X86:
X86FloatingPoint.cpp updated: 1.51 -> 1.52
---
Log message:
Do once flag never set to true.
---
Diffs of the changes: (+3 -1)
X86FloatingPoint.cpp | 4 +++-
1 files changed, 3 insertions(+), 1 deletion(-)
Index: llvm/lib/Target/X86/X86FloatingPoint.cpp
diff -u llvm/lib/Target/X86/X86FloatingPoint.cpp:1.51 llvm/lib/Target/X86/X86FloatingPoint.cpp:1.52
--- llvm/lib/Target/X86/X86FloatingPoint.cpp:1.51 Wed Jun 28 18:27:49 2006
+++ llvm/lib/Target/X86/X86FloatingPoint.cpp Wed Jul 19 14:33:08 2006
@@ -312,9 +312,11 @@
#else
#define ASSERT_SORTED(TABLE) \
{ static bool TABLE##Checked = false; \
- if (!TABLE##Checked) \
+ if (!TABLE##Checked) { \
assert(TableIsSorted(TABLE, ARRAY_SIZE(TABLE)) && \
"All lookup tables must be sorted for efficient access!"); \
+ TABLE##Checked = true; \
+ } \
}
#endif
More information about the llvm-commits
mailing list