[llvm] r179551 - Fix silly typo that broke big endian hosts.
Charles Davis
cdavis5x at gmail.com
Mon Apr 15 20:29:11 PDT 2013
On Apr 15, 2013, at 2:13 PM, Rafael Espindola wrote:
> Author: rafael
> Date: Mon Apr 15 15:13:59 2013
> New Revision: 179551
>
> URL: http://llvm.org/viewvc/llvm-project?rev=179551&view=rev
> Log:
> Fix silly typo that broke big endian hosts.
>
> Modified:
> llvm/trunk/include/llvm/Support/Host.h
>
> Modified: llvm/trunk/include/llvm/Support/Host.h
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/Host.h?rev=179551&r1=179550&r2=179551&view=diff
> ==============================================================================
> --- llvm/trunk/include/llvm/Support/Host.h (original)
> +++ llvm/trunk/include/llvm/Support/Host.h Mon Apr 15 15:13:59 2013
> @@ -29,7 +29,7 @@
> namespace llvm {
> namespace sys {
>
> -#if defined(BYTBYTE_ORDER) && defined(BIG_ENDIAN) && BYTE_ORDER == BIG_ENDIAN
> +#if defined(BYTE_ORDER) && defined(BIG_ENDIAN) && BYTE_ORDER == BIG_ENDIAN
Ah, you caught it yourself. Never mind...
Chip
> static const bool IsBigEndianHost = true;
> #else
> static const bool IsBigEndianHost = false;
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
More information about the llvm-commits
mailing list