mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 02:17:34 +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();
|
VERIFY_NOT_REACHED();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
void LineProgram::handle_sepcial_opcode(u8 opcode)
|
void LineProgram::handle_special_opcode(u8 opcode)
|
||||||
{
|
{
|
||||||
u8 adjusted_opcode = opcode - SPECIAL_OPCODES_BASE;
|
u8 adjusted_opcode = opcode - SPECIAL_OPCODES_BASE;
|
||||||
ssize_t address_increment = (adjusted_opcode / m_unit_header.line_range) * m_unit_header.min_instruction_length;
|
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) {
|
} else if (opcode >= 1 && opcode <= 12) {
|
||||||
handle_standard_opcode(opcode);
|
handle_standard_opcode(opcode);
|
||||||
} else {
|
} else {
|
||||||
handle_sepcial_opcode(opcode);
|
handle_special_opcode(opcode);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -55,7 +55,7 @@ private:
|
||||||
|
|
||||||
void handle_extended_opcode();
|
void handle_extended_opcode();
|
||||||
void handle_standard_opcode(u8 opcode);
|
void handle_standard_opcode(u8 opcode);
|
||||||
void handle_sepcial_opcode(u8 opcode);
|
void handle_special_opcode(u8 opcode);
|
||||||
|
|
||||||
struct [[gnu::packed]] UnitHeader32 {
|
struct [[gnu::packed]] UnitHeader32 {
|
||||||
u32 length;
|
u32 length;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue