blob: cafe4d3f14b5f6c65d3ddd05a652510d6689e47d [file] [log] [blame]
Chris Lattnera916db12006-09-04 04:16:09 +00001//===-- LLVMTargetMachine.cpp - Implement the LLVMTargetMachine class -----===//
2//
3// The LLVM Compiler Infrastructure
4//
Chris Lattnerf3ebc3f2007-12-29 20:36:04 +00005// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
Chris Lattnera916db12006-09-04 04:16:09 +00007//
8//===----------------------------------------------------------------------===//
9//
10// This file implements the LLVMTargetMachine class.
11//
12//===----------------------------------------------------------------------===//
13
14#include "llvm/Target/TargetMachine.h"
15#include "llvm/PassManager.h"
16#include "llvm/Pass.h"
Chris Lattnerbafc8372007-03-31 00:24:43 +000017#include "llvm/Assembly/PrintModulePass.h"
Chris Lattnera916db12006-09-04 04:16:09 +000018#include "llvm/CodeGen/Passes.h"
Gordon Henriksenbcef14d2008-08-17 12:56:54 +000019#include "llvm/CodeGen/GCStrategy.h"
Dan Gohman5ea74d52009-07-31 18:16:33 +000020#include "llvm/CodeGen/MachineFunctionAnalysis.h"
Chris Lattnera916db12006-09-04 04:16:09 +000021#include "llvm/Target/TargetOptions.h"
Dale Johannesenfd967cf2008-04-02 00:25:04 +000022#include "llvm/Target/TargetAsmInfo.h"
Daniel Dunbarf060b4d2009-07-15 23:48:37 +000023#include "llvm/Target/TargetRegistry.h"
Chris Lattnera916db12006-09-04 04:16:09 +000024#include "llvm/Transforms/Scalar.h"
Chris Lattnerbafc8372007-03-31 00:24:43 +000025#include "llvm/Support/CommandLine.h"
David Greenea31f96c2009-07-14 20:18:05 +000026#include "llvm/Support/FormattedStream.h"
Chris Lattnera916db12006-09-04 04:16:09 +000027using namespace llvm;
28
Dan Gohmanb8e69f12008-09-25 01:14:49 +000029namespace llvm {
30 bool EnableFastISel;
31}
32
Chris Lattner37228f62007-06-19 05:47:49 +000033static cl::opt<bool> PrintLSR("print-lsr-output", cl::Hidden,
34 cl::desc("Print LLVM IR produced by the loop-reduce pass"));
35static cl::opt<bool> PrintISelInput("print-isel-input", cl::Hidden,
36 cl::desc("Print LLVM IR input to isel pass"));
Evan Cheng9d5df0a2007-07-20 21:56:13 +000037static cl::opt<bool> PrintEmittedAsm("print-emitted-asm", cl::Hidden,
38 cl::desc("Dump emitter generated instructions as assembly"));
Gordon Henriksen2d684b12008-01-07 01:33:09 +000039static cl::opt<bool> PrintGCInfo("print-gc", cl::Hidden,
40 cl::desc("Dump garbage collector data"));
Jakob Stoklund Olesen36c027a2009-05-16 00:33:53 +000041static cl::opt<bool> VerifyMachineCode("verify-machineinstrs", cl::Hidden,
42 cl::desc("Verify generated machine code"),
43 cl::init(getenv("LLVM_VERIFY_MACHINEINSTRS")!=NULL));
Chris Lattner37228f62007-06-19 05:47:49 +000044
Chris Lattner99471842008-01-14 19:00:06 +000045// When this works it will be on by default.
46static cl::opt<bool>
47DisablePostRAScheduler("disable-post-RA-scheduler",
48 cl::desc("Disable scheduling after register allocation"),
49 cl::init(true));
50
Dan Gohman3b88f102008-10-01 20:39:19 +000051// Enable or disable FastISel. Both options are needed, because
52// FastISel is enabled by default with -fast, and we wish to be
53// able to enable or disable fast-isel independently from -fast.
Dan Gohman60ad1732008-10-07 23:00:56 +000054static cl::opt<cl::boolOrDefault>
Dan Gohman3b88f102008-10-01 20:39:19 +000055EnableFastISelOption("fast-isel", cl::Hidden,
56 cl::desc("Enable the experimental \"fast\" instruction selector"));
Dan Gohmanb8e69f12008-09-25 01:14:49 +000057
Chris Lattner9a6cf912009-08-12 07:22:17 +000058
59LLVMTargetMachine::LLVMTargetMachine(const Target &T,
60 const std::string &TargetTriple)
61 : TargetMachine(T) {
62 AsmInfo = T.createAsmInfo(TargetTriple);
63}
64
65
66
Bill Wendling523048e2007-02-08 01:36:53 +000067FileModel::Model
Dan Gohman24570832008-03-11 22:29:46 +000068LLVMTargetMachine::addPassesToEmitFile(PassManagerBase &PM,
David Greenea31f96c2009-07-14 20:18:05 +000069 formatted_raw_ostream &Out,
Bill Wendling523048e2007-02-08 01:36:53 +000070 CodeGenFileType FileType,
Bill Wendling026e5d72009-04-29 23:29:43 +000071 CodeGenOpt::Level OptLevel) {
Dan Gohmanacb05542008-09-25 00:37:07 +000072 // Add common CodeGen passes.
Bill Wendling084669a2009-04-29 00:15:41 +000073 if (addCommonCodeGenPasses(PM, OptLevel))
Bill Wendling523048e2007-02-08 01:36:53 +000074 return FileModel::Error;
75
Jim Laskey6ea4fae2006-11-07 19:33:46 +000076 // Fold redundant debug labels.
77 PM.add(createDebugLabelFoldingPass());
Dan Gohmanacb05542008-09-25 00:37:07 +000078
79 if (PrintMachineCode)
Bill Wendling523048e2007-02-08 01:36:53 +000080 PM.add(createMachineFunctionPrinterPass(cerr));
81
Bill Wendling084669a2009-04-29 00:15:41 +000082 if (addPreEmitPass(PM, OptLevel) && PrintMachineCode)
Bill Wendling523048e2007-02-08 01:36:53 +000083 PM.add(createMachineFunctionPrinterPass(cerr));
84
Bill Wendling026e5d72009-04-29 23:29:43 +000085 if (OptLevel != CodeGenOpt::None)
Evan Chengf356a892009-05-07 05:42:24 +000086 PM.add(createCodePlacementOptPass());
Evan Cheng95a7be42008-02-28 23:29:57 +000087
Chris Lattnera916db12006-09-04 04:16:09 +000088 switch (FileType) {
Bill Wendling523048e2007-02-08 01:36:53 +000089 default:
90 break;
91 case TargetMachine::AssemblyFile:
Bill Wendling084669a2009-04-29 00:15:41 +000092 if (addAssemblyEmitter(PM, OptLevel, getAsmVerbosityDefault(), Out))
Bill Wendling523048e2007-02-08 01:36:53 +000093 return FileModel::Error;
94 return FileModel::AsmFile;
95 case TargetMachine::ObjectFile:
96 if (getMachOWriterInfo())
97 return FileModel::MachOFile;
98 else if (getELFWriterInfo())
99 return FileModel::ElfFile;
Chris Lattnera916db12006-09-04 04:16:09 +0000100 }
Bill Wendling523048e2007-02-08 01:36:53 +0000101
102 return FileModel::Error;
103}
Dan Gohmanacb05542008-09-25 00:37:07 +0000104
Daniel Dunbard97db682009-07-15 23:34:19 +0000105bool LLVMTargetMachine::addAssemblyEmitter(PassManagerBase &PM,
106 CodeGenOpt::Level OptLevel,
107 bool Verbose,
108 formatted_raw_ostream &Out) {
Daniel Dunbar95f58462009-08-13 19:38:51 +0000109 FunctionPass *Printer =
110 getTarget().createAsmPrinter(Out, *this, getTargetAsmInfo(), Verbose);
Daniel Dunbard97db682009-07-15 23:34:19 +0000111 if (!Printer)
Daniel Dunbar06941b32009-07-15 23:54:01 +0000112 return true;
113
Daniel Dunbard97db682009-07-15 23:34:19 +0000114 PM.add(Printer);
115 return false;
116}
117
Bill Wendling523048e2007-02-08 01:36:53 +0000118/// addPassesToEmitFileFinish - If the passes to emit the specified file had to
119/// be split up (e.g., to add an object writer pass), this method can be used to
120/// finish up adding passes to emit the file, if necessary.
Dan Gohman24570832008-03-11 22:29:46 +0000121bool LLVMTargetMachine::addPassesToEmitFileFinish(PassManagerBase &PM,
Bill Wendling523048e2007-02-08 01:36:53 +0000122 MachineCodeEmitter *MCE,
Bill Wendling026e5d72009-04-29 23:29:43 +0000123 CodeGenOpt::Level OptLevel) {
Bill Wendling523048e2007-02-08 01:36:53 +0000124 if (MCE)
Daniel Dunbarc9013922009-07-15 22:33:19 +0000125 addSimpleCodeEmitter(PM, OptLevel, *MCE);
126 if (PrintEmittedAsm)
127 addAssemblyEmitter(PM, OptLevel, true, ferrs());
Dan Gohmanacb05542008-09-25 00:37:07 +0000128
Gordon Henriksend930f912008-08-17 18:44:35 +0000129 PM.add(createGCInfoDeleter());
Bill Wendling523048e2007-02-08 01:36:53 +0000130
Chris Lattnera916db12006-09-04 04:16:09 +0000131 return false; // success!
132}
133
Bruno Cardoso Lopesa194c3a2009-05-30 20:51:52 +0000134/// addPassesToEmitFileFinish - If the passes to emit the specified file had to
135/// be split up (e.g., to add an object writer pass), this method can be used to
136/// finish up adding passes to emit the file, if necessary.
137bool LLVMTargetMachine::addPassesToEmitFileFinish(PassManagerBase &PM,
138 JITCodeEmitter *JCE,
139 CodeGenOpt::Level OptLevel) {
140 if (JCE)
Daniel Dunbarc9013922009-07-15 22:33:19 +0000141 addSimpleCodeEmitter(PM, OptLevel, *JCE);
142 if (PrintEmittedAsm)
143 addAssemblyEmitter(PM, OptLevel, true, ferrs());
Bruno Cardoso Lopesa194c3a2009-05-30 20:51:52 +0000144
145 PM.add(createGCInfoDeleter());
146
Bruno Cardoso Lopesa194c3a2009-05-30 20:51:52 +0000147 return false; // success!
148}
149
Bruno Cardoso Lopes5661ea62009-07-06 05:09:34 +0000150/// addPassesToEmitFileFinish - If the passes to emit the specified file had to
151/// be split up (e.g., to add an object writer pass), this method can be used to
152/// finish up adding passes to emit the file, if necessary.
153bool LLVMTargetMachine::addPassesToEmitFileFinish(PassManagerBase &PM,
154 ObjectCodeEmitter *OCE,
155 CodeGenOpt::Level OptLevel) {
156 if (OCE)
Daniel Dunbarc9013922009-07-15 22:33:19 +0000157 addSimpleCodeEmitter(PM, OptLevel, *OCE);
158 if (PrintEmittedAsm)
159 addAssemblyEmitter(PM, OptLevel, true, ferrs());
Bruno Cardoso Lopes5661ea62009-07-06 05:09:34 +0000160
161 PM.add(createGCInfoDeleter());
162
Bruno Cardoso Lopes5661ea62009-07-06 05:09:34 +0000163 return false; // success!
164}
165
Chris Lattnera916db12006-09-04 04:16:09 +0000166/// addPassesToEmitMachineCode - Add passes to the specified pass manager to
167/// get machine code emitted. This uses a MachineCodeEmitter object to handle
168/// actually outputting the machine code and resolving things like the address
169/// of functions. This method should returns true if machine code emission is
170/// not supported.
171///
Dan Gohman24570832008-03-11 22:29:46 +0000172bool LLVMTargetMachine::addPassesToEmitMachineCode(PassManagerBase &PM,
Chris Lattnera916db12006-09-04 04:16:09 +0000173 MachineCodeEmitter &MCE,
Bill Wendling026e5d72009-04-29 23:29:43 +0000174 CodeGenOpt::Level OptLevel) {
Dan Gohmanacb05542008-09-25 00:37:07 +0000175 // Add common CodeGen passes.
Bill Wendling084669a2009-04-29 00:15:41 +0000176 if (addCommonCodeGenPasses(PM, OptLevel))
Dan Gohmanacb05542008-09-25 00:37:07 +0000177 return true;
178
Bill Wendling084669a2009-04-29 00:15:41 +0000179 if (addPreEmitPass(PM, OptLevel) && PrintMachineCode)
Dan Gohmanacb05542008-09-25 00:37:07 +0000180 PM.add(createMachineFunctionPrinterPass(cerr));
181
Daniel Dunbarc9013922009-07-15 22:33:19 +0000182 addCodeEmitter(PM, OptLevel, MCE);
183 if (PrintEmittedAsm)
184 addAssemblyEmitter(PM, OptLevel, true, ferrs());
Dan Gohmanacb05542008-09-25 00:37:07 +0000185
186 PM.add(createGCInfoDeleter());
187
Dan Gohmanacb05542008-09-25 00:37:07 +0000188 return false; // success!
189}
190
Bruno Cardoso Lopesa194c3a2009-05-30 20:51:52 +0000191/// addPassesToEmitMachineCode - Add passes to the specified pass manager to
192/// get machine code emitted. This uses a MachineCodeEmitter object to handle
193/// actually outputting the machine code and resolving things like the address
194/// of functions. This method should returns true if machine code emission is
195/// not supported.
196///
197bool LLVMTargetMachine::addPassesToEmitMachineCode(PassManagerBase &PM,
198 JITCodeEmitter &JCE,
199 CodeGenOpt::Level OptLevel) {
200 // Add common CodeGen passes.
201 if (addCommonCodeGenPasses(PM, OptLevel))
202 return true;
203
204 if (addPreEmitPass(PM, OptLevel) && PrintMachineCode)
205 PM.add(createMachineFunctionPrinterPass(cerr));
206
Daniel Dunbarc9013922009-07-15 22:33:19 +0000207 addCodeEmitter(PM, OptLevel, JCE);
208 if (PrintEmittedAsm)
209 addAssemblyEmitter(PM, OptLevel, true, ferrs());
Bruno Cardoso Lopesa194c3a2009-05-30 20:51:52 +0000210
211 PM.add(createGCInfoDeleter());
212
Bruno Cardoso Lopesa194c3a2009-05-30 20:51:52 +0000213 return false; // success!
214}
215
Jakob Stoklund Olesen36c027a2009-05-16 00:33:53 +0000216static void printAndVerify(PassManagerBase &PM,
217 bool allowDoubleDefs = false) {
218 if (PrintMachineCode)
219 PM.add(createMachineFunctionPrinterPass(cerr));
220
221 if (VerifyMachineCode)
222 PM.add(createMachineVerifierPass(allowDoubleDefs));
223}
224
Bill Wendling026e5d72009-04-29 23:29:43 +0000225/// addCommonCodeGenPasses - Add standard LLVM codegen passes used for both
226/// emitting to assembly files or machine code output.
Dan Gohmanacb05542008-09-25 00:37:07 +0000227///
Bill Wendling084669a2009-04-29 00:15:41 +0000228bool LLVMTargetMachine::addCommonCodeGenPasses(PassManagerBase &PM,
Bill Wendling026e5d72009-04-29 23:29:43 +0000229 CodeGenOpt::Level OptLevel) {
Chris Lattnera916db12006-09-04 04:16:09 +0000230 // Standard LLVM-Level Passes.
Dan Gohmanacb05542008-09-25 00:37:07 +0000231
Chris Lattnera916db12006-09-04 04:16:09 +0000232 // Run loop strength reduction before anything else.
Bill Wendling026e5d72009-04-29 23:29:43 +0000233 if (OptLevel != CodeGenOpt::None) {
Chris Lattnerf6a6d3c2007-03-31 04:18:03 +0000234 PM.add(createLoopStrengthReducePass(getTargetLowering()));
235 if (PrintLSR)
Daniel Dunbar81b5fa52008-10-22 03:25:22 +0000236 PM.add(createPrintFunctionPass("\n\n*** Code after LSR ***\n", &errs()));
Chris Lattnerf6a6d3c2007-03-31 04:18:03 +0000237 }
Dan Gohmanacb05542008-09-25 00:37:07 +0000238
Duncan Sandsd6fb6502009-05-22 20:36:31 +0000239 // Turn exception handling constructs into something the code generators can
240 // handle.
Jim Grosbach693e36a2009-08-11 00:09:57 +0000241 switch (getTargetAsmInfo()->getExceptionHandlingType())
242 {
243 // SjLj piggy-backs on dwarf for this bit
244 case ExceptionHandling::SjLj:
245 case ExceptionHandling::Dwarf:
Duncan Sandsd6fb6502009-05-22 20:36:31 +0000246 PM.add(createDwarfEHPass(getTargetLowering(), OptLevel==CodeGenOpt::None));
Jim Grosbach693e36a2009-08-11 00:09:57 +0000247 break;
248 case ExceptionHandling::None:
249 PM.add(createLowerInvokePass(getTargetLowering()));
250 break;
251 }
Duncan Sandsd6fb6502009-05-22 20:36:31 +0000252
253 PM.add(createGCLoweringPass());
Dan Gohmanacb05542008-09-25 00:37:07 +0000254
Chris Lattnera916db12006-09-04 04:16:09 +0000255 // Make sure that no unreachable blocks are instruction selected.
256 PM.add(createUnreachableBlockEliminationPass());
Bill Wendling523048e2007-02-08 01:36:53 +0000257
Bill Wendling026e5d72009-04-29 23:29:43 +0000258 if (OptLevel != CodeGenOpt::None)
Chris Lattnerf6a6d3c2007-03-31 04:18:03 +0000259 PM.add(createCodeGenPreparePass(getTargetLowering()));
260
Bill Wendlingccb67a3d2008-11-13 01:02:14 +0000261 PM.add(createStackProtectorPass(getTargetLowering()));
Bill Wendling05d84172008-11-04 02:10:20 +0000262
Chris Lattnerf6a6d3c2007-03-31 04:18:03 +0000263 if (PrintISelInput)
Daniel Dunbar54d5b9e2008-10-21 23:33:38 +0000264 PM.add(createPrintFunctionPass("\n\n"
265 "*** Final LLVM Code input to ISel ***\n",
Daniel Dunbar81b5fa52008-10-22 03:25:22 +0000266 &errs()));
Chris Lattnerf6a6d3c2007-03-31 04:18:03 +0000267
Dan Gohmanacb05542008-09-25 00:37:07 +0000268 // Standard Lower-Level Passes.
269
Dan Gohman5ea74d52009-07-31 18:16:33 +0000270 // Set up a MachineFunction for the rest of CodeGen to work on.
271 PM.add(new MachineFunctionAnalysis(*this, OptLevel));
272
Dan Gohman3b88f102008-10-01 20:39:19 +0000273 // Enable FastISel with -fast, but allow that to be overridden.
Dan Gohman60ad1732008-10-07 23:00:56 +0000274 if (EnableFastISelOption == cl::BOU_TRUE ||
Bill Wendling026e5d72009-04-29 23:29:43 +0000275 (OptLevel == CodeGenOpt::None && EnableFastISelOption != cl::BOU_FALSE))
Dan Gohman3b88f102008-10-01 20:39:19 +0000276 EnableFastISel = true;
277
Chris Lattnera916db12006-09-04 04:16:09 +0000278 // Ask the target for an isel.
Bill Wendling084669a2009-04-29 00:15:41 +0000279 if (addInstSelector(PM, OptLevel))
Chris Lattnera916db12006-09-04 04:16:09 +0000280 return true;
Bill Wendling523048e2007-02-08 01:36:53 +0000281
Chris Lattnera916db12006-09-04 04:16:09 +0000282 // Print the instruction selected machine code...
Jakob Stoklund Olesen36c027a2009-05-16 00:33:53 +0000283 printAndVerify(PM, /* allowDoubleDefs= */ true);
Bill Wendlingfb706bc2007-12-07 21:42:31 +0000284
Bill Wendling026e5d72009-04-29 23:29:43 +0000285 if (OptLevel != CodeGenOpt::None) {
Bill Wendling66470d02008-01-04 08:11:03 +0000286 PM.add(createMachineLICMPass());
Chris Lattner276178e2008-01-05 06:14:16 +0000287 PM.add(createMachineSinkingPass());
Evan Cheng6698ab92009-07-13 23:44:01 +0000288 printAndVerify(PM, /* allowDoubleDefs= */ true);
Evan Chengf736bd92009-02-09 08:45:39 +0000289 }
Bill Wendlingfb706bc2007-12-07 21:42:31 +0000290
Anton Korobeynikov0516b6f2008-04-23 18:26:03 +0000291 // Run pre-ra passes.
Jakob Stoklund Olesen36c027a2009-05-16 00:33:53 +0000292 if (addPreRegAlloc(PM, OptLevel))
293 printAndVerify(PM);
Anton Korobeynikov0516b6f2008-04-23 18:26:03 +0000294
Evan Cheng12a02222008-06-04 09:18:41 +0000295 // Perform register allocation.
Chris Lattnera916db12006-09-04 04:16:09 +0000296 PM.add(createRegisterAllocator());
Evan Cheng12a02222008-06-04 09:18:41 +0000297
298 // Perform stack slot coloring.
Bill Wendling026e5d72009-04-29 23:29:43 +0000299 if (OptLevel != CodeGenOpt::None)
Evan Chengea2b82b2009-08-05 07:26:17 +0000300 // FIXME: Re-enable coloring with register when it's capable of adding
301 // kill markers.
302 PM.add(createStackSlotColoringPass(false));
Evan Cheng12a02222008-06-04 09:18:41 +0000303
Jakob Stoklund Olesen36c027a2009-05-16 00:33:53 +0000304 printAndVerify(PM); // Print the register-allocated code
Dan Gohmanacb05542008-09-25 00:37:07 +0000305
Evan Cheng12a02222008-06-04 09:18:41 +0000306 // Run post-ra passes.
Jakob Stoklund Olesen36c027a2009-05-16 00:33:53 +0000307 if (addPostRegAlloc(PM, OptLevel))
308 printAndVerify(PM);
Dan Gohmanacb05542008-09-25 00:37:07 +0000309
Christopher Lamb14bbb152007-07-27 07:36:14 +0000310 PM.add(createLowerSubregsPass());
Jakob Stoklund Olesen36c027a2009-05-16 00:33:53 +0000311 printAndVerify(PM);
Bill Wendling523048e2007-02-08 01:36:53 +0000312
Chris Lattnera916db12006-09-04 04:16:09 +0000313 // Insert prolog/epilog code. Eliminate abstract frame index references...
314 PM.add(createPrologEpilogCodeInserter());
Jakob Stoklund Olesen36c027a2009-05-16 00:33:53 +0000315 printAndVerify(PM);
Dan Gohmanacb05542008-09-25 00:37:07 +0000316
Dale Johannesen2182f062007-07-13 17:13:54 +0000317 // Second pass scheduler.
Bill Wendling026e5d72009-04-29 23:29:43 +0000318 if (OptLevel != CodeGenOpt::None && !DisablePostRAScheduler) {
Dale Johannesen4dc35db2007-07-13 17:31:29 +0000319 PM.add(createPostRAScheduler());
Jakob Stoklund Olesen36c027a2009-05-16 00:33:53 +0000320 printAndVerify(PM);
Dan Gohman06613bc2008-11-20 19:54:21 +0000321 }
322
Dan Gohmanb0ef9142008-12-18 01:36:42 +0000323 // Branch folding must be run after regalloc and prolog/epilog insertion.
Jakob Stoklund Olesen36c027a2009-05-16 00:33:53 +0000324 if (OptLevel != CodeGenOpt::None) {
Dan Gohmanb0ef9142008-12-18 01:36:42 +0000325 PM.add(createBranchFoldingPass(getEnableTailMergeDefault()));
Jakob Stoklund Olesen36c027a2009-05-16 00:33:53 +0000326 printAndVerify(PM);
327 }
Dan Gohmanb0ef9142008-12-18 01:36:42 +0000328
Gordon Henriksen2d684b12008-01-07 01:33:09 +0000329 PM.add(createGCMachineCodeAnalysisPass());
Jakob Stoklund Olesen36c027a2009-05-16 00:33:53 +0000330 printAndVerify(PM);
Dan Gohmanacb05542008-09-25 00:37:07 +0000331
Gordon Henriksen2d684b12008-01-07 01:33:09 +0000332 if (PrintGCInfo)
Gordon Henriksend930f912008-08-17 18:44:35 +0000333 PM.add(createGCInfoPrinter(*cerr));
Bill Wendling523048e2007-02-08 01:36:53 +0000334
Dan Gohmanacb05542008-09-25 00:37:07 +0000335 return false;
Chris Lattnera916db12006-09-04 04:16:09 +0000336}