瀏覽代碼

Fix debug spelling in ResetMachineFunction pass.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@324048 91177308-0d34-0410-b5e6-96231b3b80d8
Amara Emerson 7 年之前
父節點
當前提交
f2316f6e76
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      lib/CodeGen/ResetMachineFunctionPass.cpp

+ 2 - 2
lib/CodeGen/ResetMachineFunctionPass.cpp

@@ -47,7 +47,7 @@ namespace {
               MachineFunctionProperties::Property::FailedISel)) {
               MachineFunctionProperties::Property::FailedISel)) {
         if (AbortOnFailedISel)
         if (AbortOnFailedISel)
           report_fatal_error("Instruction selection failed");
           report_fatal_error("Instruction selection failed");
-        DEBUG(dbgs() << "Reseting: " << MF.getName() << '\n');
+        DEBUG(dbgs() << "Resetting: " << MF.getName() << '\n');
         ++NumFunctionsReset;
         ++NumFunctionsReset;
         MF.reset();
         MF.reset();
         if (EmitFallbackDiag) {
         if (EmitFallbackDiag) {
@@ -65,7 +65,7 @@ namespace {
 
 
 char ResetMachineFunction::ID = 0;
 char ResetMachineFunction::ID = 0;
 INITIALIZE_PASS(ResetMachineFunction, DEBUG_TYPE,
 INITIALIZE_PASS(ResetMachineFunction, DEBUG_TYPE,
-                "reset machine function if ISel failed", false, false)
+                "Reset machine function if ISel failed", false, false)
 
 
 MachineFunctionPass *
 MachineFunctionPass *
 llvm::createResetMachineFunctionPass(bool EmitFallbackDiag = false,
 llvm::createResetMachineFunctionPass(bool EmitFallbackDiag = false,