[compiler-rt] r202298 - Undef helper macros after using them.

Joerg Sonnenberger joerg at bec.de
Wed Feb 26 12:38:24 PST 2014


Author: joerg
Date: Wed Feb 26 14:38:24 2014
New Revision: 202298

URL: http://llvm.org/viewvc/llvm-project?rev=202298&view=rev
Log:
Undef helper macros after using them.

Modified:
    compiler-rt/trunk/lib/builtins/fp_lib.h

Modified: compiler-rt/trunk/lib/builtins/fp_lib.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/fp_lib.h?rev=202298&r1=202297&r2=202298&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/fp_lib.h (original)
+++ compiler-rt/trunk/lib/builtins/fp_lib.h Wed Feb 26 14:38:24 2014
@@ -83,6 +83,8 @@ static inline void wideMultiply(rep_t a,
     // Sum terms contributing to hi with the carry from lo
     *hi = hiWord(plohi) + hiWord(philo) + hiWord(r1) + phihi;
 }
+#undef loWord
+#undef hiWord
 
 #else
 #error Either SINGLE_PRECISION or DOUBLE_PRECISION must be defined.





More information about the llvm-commits mailing list