mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:17:44 +00:00
LibDebug: Fix typo in handle_special_opcode method name
handle_sepcial_opcode -> handle_special_opcode :)
This commit is contained in:
parent
e9837bed33
commit
a5b4d4434e
2 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue