[dragonegg] r179533 - The function form is about to disappear.

Rafael EspĂ­ndola rafael.espindola at gmail.com
Mon Apr 15 09:10:34 PDT 2013


Thanks !

On 15 April 2013 11:50, Duncan Sands <baldrick at free.fr> wrote:
> Author: baldrick
> Date: Mon Apr 15 10:50:22 2013
> New Revision: 179533
>
> URL: http://llvm.org/viewvc/llvm-project?rev=179533&view=rev
> Log:
> The function form is about to disappear.
>
> Modified:
>     dragonegg/trunk/src/ConstantConversion.cpp
>
> Modified: dragonegg/trunk/src/ConstantConversion.cpp
> URL: http://llvm.org/viewvc/llvm-project/dragonegg/trunk/src/ConstantConversion.cpp?rev=179533&r1=179532&r2=179533&view=diff
> ==============================================================================
> --- dragonegg/trunk/src/ConstantConversion.cpp (original)
> +++ dragonegg/trunk/src/ConstantConversion.cpp Mon Apr 15 10:50:22 2013
> @@ -755,7 +755,7 @@ static Constant *ConvertSTRING_CST(tree
>        // gcc has constructed the initializer elements in the target endianness,
>        // but we're going to treat them as ordinary shorts from here, with
>        // host endianness.  Adjust if necessary.
> -      if (llvm::sys::isBigEndianHost() == BYTES_BIG_ENDIAN)
> +      if (llvm::sys::IsBigEndianHost == BYTES_BIG_ENDIAN)
>          Elts.push_back(ConstantInt::get(Type::getInt16Ty(Context), InStr[i]));
>        else
>          Elts.push_back(
> @@ -769,7 +769,7 @@ static Constant *ConvertSTRING_CST(tree
>        // gcc has constructed the initializer elements in the target endianness,
>        // but we're going to treat them as ordinary ints from here, with
>        // host endianness.  Adjust if necessary.
> -      if (llvm::sys::isBigEndianHost() == BYTES_BIG_ENDIAN)
> +      if (llvm::sys::IsBigEndianHost == BYTES_BIG_ENDIAN)
>          Elts.push_back(ConstantInt::get(Type::getInt32Ty(Context), InStr[i]));
>        else
>          Elts.push_back(
>
>
> _______________________________________________
> 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