[dragonegg] r179533 - The function form is about to disappear.
Duncan Sands
baldrick at free.fr
Mon Apr 15 08:50:23 PDT 2013
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(
More information about the llvm-commits
mailing list