diff options
Diffstat (limited to 'lib/CodeGen/InstrSelection/InstrSelection.cpp')
-rw-r--r-- | lib/CodeGen/InstrSelection/InstrSelection.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/CodeGen/InstrSelection/InstrSelection.cpp b/lib/CodeGen/InstrSelection/InstrSelection.cpp index 675e489e46..b77b5a8b4e 100644 --- a/lib/CodeGen/InstrSelection/InstrSelection.cpp +++ b/lib/CodeGen/InstrSelection/InstrSelection.cpp @@ -31,11 +31,11 @@ enum SelectDebugLevel_t { }; // Enable Debug Options to be specified on the command line -cl::Enum<enum SelectDebugLevel_t> SelectDebugLevel("dselect", cl::NoFlags, // cl::Hidden +cl::Enum<enum SelectDebugLevel_t> SelectDebugLevel("dselect", cl::NoFlags, "enable instruction selection debugging information", clEnumValN(Select_NoDebugInfo, "n", "disable debug output"), clEnumValN(Select_PrintMachineCode, "y", "print generated machine code"), - clEnumValN(Select_DebugInstTrees, "i", "print instr. selection debugging info"), + clEnumValN(Select_DebugInstTrees, "i", "print instruction selection debug info"), clEnumValN(Select_DebugBurgTrees, "b", "print burg trees"), 0); @@ -54,8 +54,7 @@ SelectInstructionsForMethod(Method* method, // // Build the instruction trees to be given as inputs to BURG. // - InstrForest instrForest; - instrForest.buildTreesForMethod(method); + InstrForest instrForest(method); if (SelectDebugLevel >= Select_DebugInstTrees) { |