blob: 98249c029bbda4c1169692d89fba125b135f92f8 [file] [log] [blame]
Chris Lattner1e27fe12006-10-14 07:06:20 +00001//===--- TargetInfo.cpp - Information about Target machine ----------------===//
2//
3// The LLVM Compiler Infrastructure
4//
Chris Lattner5b12ab82007-12-29 19:59:25 +00005// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
Chris Lattner1e27fe12006-10-14 07:06:20 +00007//
8//===----------------------------------------------------------------------===//
9//
10// This file implements the TargetInfo and TargetInfoImpl interfaces.
11//
12//===----------------------------------------------------------------------===//
13
14#include "clang/Basic/TargetInfo.h"
John Thompsoned4e2952009-11-05 20:14:16 +000015#include "clang/Basic/LangOptions.h"
Chris Lattnerec0a6d92007-09-22 18:29:59 +000016#include "llvm/ADT/APFloat.h"
Anders Carlsson290aa852007-11-25 00:25:21 +000017#include "llvm/ADT/STLExtras.h"
Chris Lattnerc4f02b62008-04-06 04:02:29 +000018#include <cstdlib>
Chris Lattner1e27fe12006-10-14 07:06:20 +000019using namespace clang;
20
Chris Lattner1df27862008-03-08 08:59:43 +000021// TargetInfo Constructor.
22TargetInfo::TargetInfo(const std::string &T) : Triple(T) {
Daniel Dunbar3d9289c2010-04-15 06:18:39 +000023 // Set defaults. Defaults are set for a 32-bit RISC platform, like PPC or
24 // SPARC. These should be overridden by concrete targets as needed.
Eli Friedmand88c8a12009-04-19 21:38:35 +000025 TLSSupported = true;
Chris Lattner1a8f3942010-04-23 16:29:58 +000026 NoAsmVariants = false;
Chris Lattner5e2ef0c2008-05-09 06:08:39 +000027 PointerWidth = PointerAlign = 32;
Chris Lattnerb781dc792008-05-08 05:58:21 +000028 IntWidth = IntAlign = 32;
Chris Lattner5a9aaaf2008-05-09 05:50:02 +000029 LongWidth = LongAlign = 32;
30 LongLongWidth = LongLongAlign = 64;
Eli Friedmanb5366062008-05-20 14:21:01 +000031 FloatWidth = 32;
32 FloatAlign = 32;
Nate Begeman65bea232008-04-18 17:17:24 +000033 DoubleWidth = 64;
Eli Friedmanb5366062008-05-20 14:21:01 +000034 DoubleAlign = 64;
35 LongDoubleWidth = 64;
36 LongDoubleAlign = 64;
Rafael Espindolae971b9a2010-06-04 23:15:27 +000037 LargeArrayMinWidth = 0;
38 LargeArrayAlign = 0;
Anders Carlsson2a79a902008-10-31 16:05:19 +000039 SizeType = UnsignedLong;
Eli Friedmand50881c2008-11-02 02:43:55 +000040 PtrDiffType = SignedLong;
Sanjiv Guptad7959242008-10-31 09:52:39 +000041 IntMaxType = SignedLongLong;
42 UIntMaxType = UnsignedLongLong;
Chris Lattner7e4c81c2009-02-13 22:28:55 +000043 IntPtrType = SignedLong;
Eli Friedmand50881c2008-11-02 02:43:55 +000044 WCharType = SignedInt;
Chris Lattner67204922009-10-21 04:59:34 +000045 WIntType = SignedInt;
Alisdair Mereditha9ad47d2009-07-14 06:30:34 +000046 Char16Type = UnsignedShort;
47 Char32Type = UnsignedInt;
Eli Friedman2857ccb2009-07-01 03:36:11 +000048 Int64Type = SignedLongLong;
Edward O'Callaghan847f2a12009-11-21 00:49:54 +000049 SigAtomicType = SignedInt;
Daniel Dunbar1da65112010-04-15 15:06:18 +000050 UseBitFieldTypeAlignment = true;
Chris Lattner1df27862008-03-08 08:59:43 +000051 FloatFormat = &llvm::APFloat::IEEEsingle;
52 DoubleFormat = &llvm::APFloat::IEEEdouble;
53 LongDoubleFormat = &llvm::APFloat::IEEEdouble;
Eli Friedman873f65a2008-08-21 00:13:15 +000054 DescriptionString = "E-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-"
Chris Lattner5c67237f2009-11-07 18:59:41 +000055 "i64:64:64-f32:32:32-f64:64:64-n32";
Chris Lattnerf37bafc2008-10-05 19:22:37 +000056 UserLabelPrefix = "_";
Daniel Dunbarbd606522010-05-27 00:35:16 +000057 HasAlignMac68kSupport = false;
Chris Lattner1df27862008-03-08 08:59:43 +000058}
59
Chris Lattnerc3a669b2008-03-08 08:24:01 +000060// Out of line virtual dtor for TargetInfo.
61TargetInfo::~TargetInfo() {}
Chris Lattner2194ddc2006-10-14 18:32:26 +000062
Chris Lattnera91c30f2009-02-06 05:04:11 +000063/// getTypeName - Return the user string for the specified integer type enum.
64/// For example, SignedShort -> "short".
65const char *TargetInfo::getTypeName(IntType T) {
66 switch (T) {
67 default: assert(0 && "not an integer!");
68 case SignedShort: return "short";
69 case UnsignedShort: return "unsigned short";
70 case SignedInt: return "int";
71 case UnsignedInt: return "unsigned int";
72 case SignedLong: return "long int";
73 case UnsignedLong: return "long unsigned int";
74 case SignedLongLong: return "long long int";
75 case UnsignedLongLong: return "long long unsigned int";
76 }
77}
78
Chris Lattner72cdcac2009-10-21 06:24:21 +000079/// getTypeConstantSuffix - Return the constant suffix for the specified
80/// integer type enum. For example, SignedLong -> "L".
81const char *TargetInfo::getTypeConstantSuffix(IntType T) {
82 switch (T) {
83 default: assert(0 && "not an integer!");
84 case SignedShort:
85 case SignedInt: return "";
86 case SignedLong: return "L";
87 case SignedLongLong: return "LL";
88 case UnsignedShort:
89 case UnsignedInt: return "U";
90 case UnsignedLong: return "UL";
91 case UnsignedLongLong: return "ULL";
92 }
93}
94
95/// getTypeWidth - Return the width (in bits) of the specified integer type
96/// enum. For example, SignedInt -> getIntWidth().
97unsigned TargetInfo::getTypeWidth(IntType T) const {
98 switch (T) {
99 default: assert(0 && "not an integer!");
Chris Lattnere4a8c642009-11-05 21:21:32 +0000100 case SignedShort:
Chris Lattner72cdcac2009-10-21 06:24:21 +0000101 case UnsignedShort: return getShortWidth();
Chris Lattnere4a8c642009-11-05 21:21:32 +0000102 case SignedInt:
Chris Lattner72cdcac2009-10-21 06:24:21 +0000103 case UnsignedInt: return getIntWidth();
Chris Lattnere4a8c642009-11-05 21:21:32 +0000104 case SignedLong:
Chris Lattner72cdcac2009-10-21 06:24:21 +0000105 case UnsignedLong: return getLongWidth();
Chris Lattnere4a8c642009-11-05 21:21:32 +0000106 case SignedLongLong:
Chris Lattner72cdcac2009-10-21 06:24:21 +0000107 case UnsignedLongLong: return getLongLongWidth();
108 };
109}
110
Chris Lattnere4a8c642009-11-05 21:21:32 +0000111/// getTypeAlign - Return the alignment (in bits) of the specified integer type
112/// enum. For example, SignedInt -> getIntAlign().
113unsigned TargetInfo::getTypeAlign(IntType T) const {
114 switch (T) {
115 default: assert(0 && "not an integer!");
116 case SignedShort:
117 case UnsignedShort: return getShortAlign();
118 case SignedInt:
119 case UnsignedInt: return getIntAlign();
120 case SignedLong:
121 case UnsignedLong: return getLongAlign();
122 case SignedLongLong:
123 case UnsignedLongLong: return getLongLongAlign();
124 };
125}
126
Chris Lattnerc0c04392009-10-25 22:49:18 +0000127/// isTypeSigned - Return whether an integer types is signed. Returns true if
Chris Lattner72cdcac2009-10-21 06:24:21 +0000128/// the type is signed; false otherwise.
Chris Lattnerc0c04392009-10-25 22:49:18 +0000129bool TargetInfo::isTypeSigned(IntType T) const {
Chris Lattner72cdcac2009-10-21 06:24:21 +0000130 switch (T) {
131 default: assert(0 && "not an integer!");
132 case SignedShort:
133 case SignedInt:
134 case SignedLong:
135 case SignedLongLong:
136 return true;
137 case UnsignedShort:
138 case UnsignedInt:
139 case UnsignedLong:
140 case UnsignedLongLong:
141 return false;
142 };
143}
144
John Thompsoned4e2952009-11-05 20:14:16 +0000145/// setForcedLangOptions - Set forced language options.
146/// Apply changes to the target information with respect to certain
147/// language options which change the target configuration.
148void TargetInfo::setForcedLangOptions(LangOptions &Opts) {
Daniel Dunbar9302f602010-04-15 15:06:22 +0000149 if (Opts.NoBitFieldTypeAlign)
150 UseBitFieldTypeAlignment = false;
151 if (Opts.ShortWChar)
John Thompsoned4e2952009-11-05 20:14:16 +0000152 WCharType = UnsignedShort;
John Thompsoned4e2952009-11-05 20:14:16 +0000153}
Chris Lattner72cdcac2009-10-21 06:24:21 +0000154
Chris Lattnerec0a6d92007-09-22 18:29:59 +0000155//===----------------------------------------------------------------------===//
Chris Lattnerec0a6d92007-09-22 18:29:59 +0000156
Chris Lattner10a5b382007-01-29 05:24:35 +0000157
Anders Carlssonc7c5baa2010-01-30 19:12:25 +0000158static llvm::StringRef removeGCCRegisterPrefix(llvm::StringRef Name) {
Anders Carlsson3ed4aea2008-02-06 00:11:32 +0000159 if (Name[0] == '%' || Name[0] == '#')
Anders Carlssonc7c5baa2010-01-30 19:12:25 +0000160 Name = Name.substr(1);
161
162 return Name;
Anders Carlsson3ed4aea2008-02-06 00:11:32 +0000163}
164
Anders Carlsson5fa3f342007-11-24 23:38:12 +0000165/// isValidGCCRegisterName - Returns whether the passed in string
166/// is a valid register name according to GCC. This is used by Sema for
167/// inline asm statements.
Anders Carlssonc7c5baa2010-01-30 19:12:25 +0000168bool TargetInfo::isValidGCCRegisterName(llvm::StringRef Name) const {
169 if (Name.empty())
170 return false;
171
Anders Carlsson290aa852007-11-25 00:25:21 +0000172 const char * const *Names;
173 unsigned NumNames;
Mike Stump11289f42009-09-09 15:08:12 +0000174
Anders Carlsson290aa852007-11-25 00:25:21 +0000175 // Get rid of any register prefix.
Anders Carlssonc7c5baa2010-01-30 19:12:25 +0000176 Name = removeGCCRegisterPrefix(Name);
Anders Carlsson3ed4aea2008-02-06 00:11:32 +0000177
Anders Carlssonc7c5baa2010-01-30 19:12:25 +0000178 if (Name == "memory" || Name == "cc")
Anders Carlsson290aa852007-11-25 00:25:21 +0000179 return true;
Mike Stump11289f42009-09-09 15:08:12 +0000180
Chris Lattnerc3a669b2008-03-08 08:24:01 +0000181 getGCCRegNames(Names, NumNames);
Mike Stump11289f42009-09-09 15:08:12 +0000182
Anders Carlsson290aa852007-11-25 00:25:21 +0000183 // If we have a number it maps to an entry in the register name array.
184 if (isdigit(Name[0])) {
Anders Carlssonc7c5baa2010-01-30 19:12:25 +0000185 int n;
186 if (!Name.getAsInteger(0, n))
Anders Carlsson290aa852007-11-25 00:25:21 +0000187 return n >= 0 && (unsigned)n < NumNames;
188 }
189
190 // Check register names.
191 for (unsigned i = 0; i < NumNames; i++) {
Anders Carlssonc7c5baa2010-01-30 19:12:25 +0000192 if (Name == Names[i])
Anders Carlsson290aa852007-11-25 00:25:21 +0000193 return true;
194 }
Mike Stump11289f42009-09-09 15:08:12 +0000195
Anders Carlsson290aa852007-11-25 00:25:21 +0000196 // Now check aliases.
Chris Lattnerc3a669b2008-03-08 08:24:01 +0000197 const GCCRegAlias *Aliases;
Anders Carlsson290aa852007-11-25 00:25:21 +0000198 unsigned NumAliases;
Mike Stump11289f42009-09-09 15:08:12 +0000199
Chris Lattnerc3a669b2008-03-08 08:24:01 +0000200 getGCCRegAliases(Aliases, NumAliases);
Anders Carlsson290aa852007-11-25 00:25:21 +0000201 for (unsigned i = 0; i < NumAliases; i++) {
202 for (unsigned j = 0 ; j < llvm::array_lengthof(Aliases[i].Aliases); j++) {
203 if (!Aliases[i].Aliases[j])
204 break;
Anders Carlssonc7c5baa2010-01-30 19:12:25 +0000205 if (Aliases[i].Aliases[j] == Name)
Anders Carlsson290aa852007-11-25 00:25:21 +0000206 return true;
207 }
208 }
Mike Stump11289f42009-09-09 15:08:12 +0000209
Anders Carlsson5fa3f342007-11-24 23:38:12 +0000210 return false;
211}
Anders Carlssonf511f642007-11-27 04:11:28 +0000212
Anders Carlssonc7c5baa2010-01-30 19:12:25 +0000213llvm::StringRef
214TargetInfo::getNormalizedGCCRegisterName(llvm::StringRef Name) const {
Anders Carlssonf511f642007-11-27 04:11:28 +0000215 assert(isValidGCCRegisterName(Name) && "Invalid register passed in");
Mike Stump11289f42009-09-09 15:08:12 +0000216
Anders Carlssonc7c5baa2010-01-30 19:12:25 +0000217 // Get rid of any register prefix.
218 Name = removeGCCRegisterPrefix(Name);
Mike Stump11289f42009-09-09 15:08:12 +0000219
Anders Carlssonf511f642007-11-27 04:11:28 +0000220 const char * const *Names;
221 unsigned NumNames;
222
Chris Lattnerc3a669b2008-03-08 08:24:01 +0000223 getGCCRegNames(Names, NumNames);
Anders Carlssonf511f642007-11-27 04:11:28 +0000224
225 // First, check if we have a number.
226 if (isdigit(Name[0])) {
Anders Carlssonc7c5baa2010-01-30 19:12:25 +0000227 int n;
228 if (!Name.getAsInteger(0, n)) {
Mike Stump11289f42009-09-09 15:08:12 +0000229 assert(n >= 0 && (unsigned)n < NumNames &&
Anders Carlssonf511f642007-11-27 04:11:28 +0000230 "Out of bounds register number!");
231 return Names[n];
232 }
233 }
Mike Stump11289f42009-09-09 15:08:12 +0000234
Anders Carlssonf511f642007-11-27 04:11:28 +0000235 // Now check aliases.
Chris Lattnerc3a669b2008-03-08 08:24:01 +0000236 const GCCRegAlias *Aliases;
Anders Carlssonf511f642007-11-27 04:11:28 +0000237 unsigned NumAliases;
Mike Stump11289f42009-09-09 15:08:12 +0000238
Chris Lattnerc3a669b2008-03-08 08:24:01 +0000239 getGCCRegAliases(Aliases, NumAliases);
Anders Carlssonf511f642007-11-27 04:11:28 +0000240 for (unsigned i = 0; i < NumAliases; i++) {
241 for (unsigned j = 0 ; j < llvm::array_lengthof(Aliases[i].Aliases); j++) {
242 if (!Aliases[i].Aliases[j])
243 break;
Anders Carlssonc7c5baa2010-01-30 19:12:25 +0000244 if (Aliases[i].Aliases[j] == Name)
Anders Carlssonf511f642007-11-27 04:11:28 +0000245 return Aliases[i].Register;
246 }
247 }
Mike Stump11289f42009-09-09 15:08:12 +0000248
Anders Carlssonf511f642007-11-27 04:11:28 +0000249 return Name;
250}
251
Chris Lattnerc3f4c7b2009-04-26 17:19:08 +0000252bool TargetInfo::validateOutputConstraint(ConstraintInfo &Info) const {
253 const char *Name = Info.getConstraintStr().c_str();
Anders Carlssonf511f642007-11-27 04:11:28 +0000254 // An output constraint must start with '=' or '+'
255 if (*Name != '=' && *Name != '+')
256 return false;
257
258 if (*Name == '+')
Chris Lattnerd9725f72009-04-26 07:16:29 +0000259 Info.setIsReadWrite();
Anders Carlssonf511f642007-11-27 04:11:28 +0000260
261 Name++;
262 while (*Name) {
263 switch (*Name) {
264 default:
Chris Lattnerd9725f72009-04-26 07:16:29 +0000265 if (!validateAsmConstraint(Name, Info)) {
Ted Kremenekb44485b2008-04-24 16:36:38 +0000266 // FIXME: We temporarily return false
Anders Carlssonf511f642007-11-27 04:11:28 +0000267 // so we can add more constraints as we hit it.
268 // Eventually, an unknown constraint should just be treated as 'g'.
Ted Kremenekb44485b2008-04-24 16:36:38 +0000269 return false;
Anders Carlssonf511f642007-11-27 04:11:28 +0000270 }
271 case '&': // early clobber.
272 break;
Chris Lattnerf3154712009-10-13 04:32:07 +0000273 case '%': // commutative.
274 // FIXME: Check that there is a another register after this one.
275 break;
Anders Carlssonf511f642007-11-27 04:11:28 +0000276 case 'r': // general register.
Chris Lattnerd9725f72009-04-26 07:16:29 +0000277 Info.setAllowsRegister();
Anders Carlssonf511f642007-11-27 04:11:28 +0000278 break;
279 case 'm': // memory operand.
Chris Lattnerd9725f72009-04-26 07:16:29 +0000280 Info.setAllowsMemory();
Anders Carlssonf511f642007-11-27 04:11:28 +0000281 break;
282 case 'g': // general register, memory operand or immediate integer.
Anders Carlssone70cde12009-01-18 02:12:04 +0000283 case 'X': // any operand.
Chris Lattnerd9725f72009-04-26 07:16:29 +0000284 Info.setAllowsRegister();
285 Info.setAllowsMemory();
Anders Carlssonf511f642007-11-27 04:11:28 +0000286 break;
287 }
Mike Stump11289f42009-09-09 15:08:12 +0000288
Anders Carlssonf511f642007-11-27 04:11:28 +0000289 Name++;
290 }
Mike Stump11289f42009-09-09 15:08:12 +0000291
Anders Carlssonf511f642007-11-27 04:11:28 +0000292 return true;
293}
294
Anders Carlssona79203b2009-01-18 01:56:57 +0000295bool TargetInfo::resolveSymbolicName(const char *&Name,
Chris Lattnerc16d4762009-04-26 17:57:12 +0000296 ConstraintInfo *OutputConstraints,
297 unsigned NumOutputs,
Chris Lattnerd9725f72009-04-26 07:16:29 +0000298 unsigned &Index) const {
Anders Carlssona79203b2009-01-18 01:56:57 +0000299 assert(*Name == '[' && "Symbolic name did not start with '['");
Anders Carlssona79203b2009-01-18 01:56:57 +0000300 Name++;
301 const char *Start = Name;
302 while (*Name && *Name != ']')
303 Name++;
Mike Stump11289f42009-09-09 15:08:12 +0000304
Anders Carlssona79203b2009-01-18 01:56:57 +0000305 if (!*Name) {
306 // Missing ']'
307 return false;
308 }
Mike Stump11289f42009-09-09 15:08:12 +0000309
Anders Carlssona79203b2009-01-18 01:56:57 +0000310 std::string SymbolicName(Start, Name - Start);
Mike Stump11289f42009-09-09 15:08:12 +0000311
Chris Lattnerc16d4762009-04-26 17:57:12 +0000312 for (Index = 0; Index != NumOutputs; ++Index)
313 if (SymbolicName == OutputConstraints[Index].getName())
Anders Carlssona79203b2009-01-18 01:56:57 +0000314 return true;
Anders Carlssona79203b2009-01-18 01:56:57 +0000315
316 return false;
317}
318
Chris Lattnerc16d4762009-04-26 17:57:12 +0000319bool TargetInfo::validateInputConstraint(ConstraintInfo *OutputConstraints,
320 unsigned NumOutputs,
Chris Lattnerd9725f72009-04-26 07:16:29 +0000321 ConstraintInfo &Info) const {
Chris Lattnerc3f4c7b2009-04-26 17:19:08 +0000322 const char *Name = Info.ConstraintStr.c_str();
323
Anders Carlssonf511f642007-11-27 04:11:28 +0000324 while (*Name) {
325 switch (*Name) {
326 default:
327 // Check if we have a matching constraint
328 if (*Name >= '0' && *Name <= '9') {
329 unsigned i = *Name - '0';
Mike Stump11289f42009-09-09 15:08:12 +0000330
Anders Carlssonf511f642007-11-27 04:11:28 +0000331 // Check if matching constraint is out of bounds.
332 if (i >= NumOutputs)
333 return false;
Mike Stump11289f42009-09-09 15:08:12 +0000334
335 // The constraint should have the same info as the respective
Anders Carlsson570c3572009-01-27 20:38:24 +0000336 // output constraint.
Chris Lattner4c92b512009-04-26 18:05:25 +0000337 Info.setTiedOperand(i, OutputConstraints[i]);
Chris Lattnerd9725f72009-04-26 07:16:29 +0000338 } else if (!validateAsmConstraint(Name, Info)) {
Daniel Dunbar81128e02008-08-25 09:46:27 +0000339 // FIXME: This error return is in place temporarily so we can
340 // add more constraints as we hit it. Eventually, an unknown
341 // constraint should just be treated as 'g'.
342 return false;
Anders Carlssona79203b2009-01-18 01:56:57 +0000343 }
344 break;
345 case '[': {
346 unsigned Index = 0;
Chris Lattnerc16d4762009-04-26 17:57:12 +0000347 if (!resolveSymbolicName(Name, OutputConstraints, NumOutputs, Index))
Anders Carlssona79203b2009-01-18 01:56:57 +0000348 return false;
Mike Stump11289f42009-09-09 15:08:12 +0000349
Anders Carlssona79203b2009-01-18 01:56:57 +0000350 break;
Mike Stump11289f42009-09-09 15:08:12 +0000351 }
Anders Carlsson050f4942007-12-08 19:32:57 +0000352 case '%': // commutative
353 // FIXME: Fail if % is used with the last operand.
354 break;
Anders Carlssonf511f642007-11-27 04:11:28 +0000355 case 'i': // immediate integer.
Anders Carlssona3a96af2008-03-09 06:02:02 +0000356 case 'n': // immediate integer with a known value.
Anders Carlssonf511f642007-11-27 04:11:28 +0000357 break;
Chris Lattnerdbcc5ca2009-05-06 04:33:31 +0000358 case 'I': // Various constant constraints with target-specific meanings.
359 case 'J':
360 case 'K':
361 case 'L':
362 case 'M':
363 case 'N':
364 case 'O':
365 case 'P':
366 break;
Anders Carlssonf511f642007-11-27 04:11:28 +0000367 case 'r': // general register.
Chris Lattnerd9725f72009-04-26 07:16:29 +0000368 Info.setAllowsRegister();
Anders Carlssonf511f642007-11-27 04:11:28 +0000369 break;
370 case 'm': // memory operand.
Nuno Lopes2af2af22009-12-16 14:28:21 +0000371 case 'o': // offsettable memory operand
372 case 'V': // non-offsettable memory operand
Chris Lattnerd9725f72009-04-26 07:16:29 +0000373 Info.setAllowsMemory();
Anders Carlssonf511f642007-11-27 04:11:28 +0000374 break;
375 case 'g': // general register, memory operand or immediate integer.
Anders Carlssone70cde12009-01-18 02:12:04 +0000376 case 'X': // any operand.
Chris Lattnerd9725f72009-04-26 07:16:29 +0000377 Info.setAllowsRegister();
378 Info.setAllowsMemory();
Anders Carlssonf511f642007-11-27 04:11:28 +0000379 break;
380 }
Mike Stump11289f42009-09-09 15:08:12 +0000381
Anders Carlssonf511f642007-11-27 04:11:28 +0000382 Name++;
383 }
Mike Stump11289f42009-09-09 15:08:12 +0000384
Anders Carlssonf511f642007-11-27 04:11:28 +0000385 return true;
386}