diff options
author | FalseHonesty <thefalsehonesty@gmail.com> | 2021-04-15 23:14:35 -0400 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2021-04-16 17:40:24 +0200 |
commit | a5b4d4434e77d95bd730282301884b7f2cf2f954 (patch) | |
tree | 5469dc0e3d3db18ebb07d2540d1a108a02d1cc33 | |
parent | e9837bed33d5b58410a0084e344a1fab9255ca84 (diff) | |
download | serenity-a5b4d4434e77d95bd730282301884b7f2cf2f954.zip |
LibDebug: Fix typo in handle_special_opcode method name
handle_sepcial_opcode -> handle_special_opcode :)
-rw-r--r-- | Userland/Libraries/LibDebug/Dwarf/LineProgram.cpp | 4 | ||||
-rw-r--r-- | Userland/Libraries/LibDebug/Dwarf/LineProgram.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Userland/Libraries/LibDebug/Dwarf/LineProgram.cpp b/Userland/Libraries/LibDebug/Dwarf/LineProgram.cpp index 447bcccc99..dac31dfdc8 100644 --- a/Userland/Libraries/LibDebug/Dwarf/LineProgram.cpp +++ b/Userland/Libraries/LibDebug/Dwarf/LineProgram.cpp @@ -226,7 +226,7 @@ void LineProgram::handle_standard_opcode(u8 opcode) VERIFY_NOT_REACHED(); } } -void LineProgram::handle_sepcial_opcode(u8 opcode) +void LineProgram::handle_special_opcode(u8 opcode) { u8 adjusted_opcode = opcode - SPECIAL_OPCODES_BASE; ssize_t address_increment = (adjusted_opcode / m_unit_header.line_range) * m_unit_header.min_instruction_length; @@ -258,7 +258,7 @@ void LineProgram::run_program() } else if (opcode >= 1 && opcode <= 12) { handle_standard_opcode(opcode); } else { - handle_sepcial_opcode(opcode); + handle_special_opcode(opcode); } } } diff --git a/Userland/Libraries/LibDebug/Dwarf/LineProgram.h b/Userland/Libraries/LibDebug/Dwarf/LineProgram.h index 5599cae555..1fb1a032dd 100644 --- a/Userland/Libraries/LibDebug/Dwarf/LineProgram.h +++ b/Userland/Libraries/LibDebug/Dwarf/LineProgram.h @@ -55,7 +55,7 @@ private: void handle_extended_opcode(); void handle_standard_opcode(u8 opcode); - void handle_sepcial_opcode(u8 opcode); + void handle_special_opcode(u8 opcode); struct [[gnu::packed]] UnitHeader32 { u32 length; |