mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-31 20:44:18 +00:00
Fix debug spelling in ResetMachineFunction pass.
llvm-svn: 324048
This commit is contained in:
parent
58aea52bc4
commit
98af4664e0
@ -47,7 +47,7 @@ namespace {
|
||||
MachineFunctionProperties::Property::FailedISel)) {
|
||||
if (AbortOnFailedISel)
|
||||
report_fatal_error("Instruction selection failed");
|
||||
DEBUG(dbgs() << "Reseting: " << MF.getName() << '\n');
|
||||
DEBUG(dbgs() << "Resetting: " << MF.getName() << '\n');
|
||||
++NumFunctionsReset;
|
||||
MF.reset();
|
||||
if (EmitFallbackDiag) {
|
||||
@ -65,7 +65,7 @@ namespace {
|
||||
|
||||
char ResetMachineFunction::ID = 0;
|
||||
INITIALIZE_PASS(ResetMachineFunction, DEBUG_TYPE,
|
||||
"reset machine function if ISel failed", false, false)
|
||||
"Reset machine function if ISel failed", false, false)
|
||||
|
||||
MachineFunctionPass *
|
||||
llvm::createResetMachineFunctionPass(bool EmitFallbackDiag = false,
|
||||
|
Loading…
Reference in New Issue
Block a user