[cfe-commits] r51320 - /cfe/trunk/lib/Basic/Targets.cpp
Eli Friedman
eli.friedman at gmail.com
Tue May 20 07:25:02 PDT 2008
Author: efriedma
Date: Tue May 20 09:25:01 2008
New Revision: 51320
URL: http://llvm.org/viewvc/llvm-project?rev=51320&view=rev
Log:
Minor correction for PPC targets.
Modified:
cfe/trunk/lib/Basic/Targets.cpp
Modified: cfe/trunk/lib/Basic/Targets.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Basic/Targets.cpp?rev=51320&r1=51319&r2=51320&view=diff
==============================================================================
--- cfe/trunk/lib/Basic/Targets.cpp (original)
+++ cfe/trunk/lib/Basic/Targets.cpp Tue May 20 09:25:01 2008
@@ -621,7 +621,9 @@
namespace {
class DarwinPPCTargetInfo : public DarwinTargetInfo {
public:
- DarwinPPCTargetInfo(const std::string& triple) : DarwinTargetInfo(triple) {}
+ DarwinPPCTargetInfo(const std::string& triple) : DarwinTargetInfo(triple) {
+ CharIsSigned = false;
+ }
virtual void getTargetDefines(std::vector<char> &Defines) const {
DarwinTargetInfo::getTargetDefines(Defines);
@@ -659,6 +661,7 @@
class DarwinPPC64TargetInfo : public DarwinTargetInfo {
public:
DarwinPPC64TargetInfo(const std::string& triple) : DarwinTargetInfo(triple) {
+ CharIsSigned = false;
LongWidth = LongAlign = PointerWidth = PointerAlign = 64;
}
More information about the cfe-commits
mailing list