mirror of
https://github.com/open-goal/jak-project
synced 2026-08-13 12:19:35 -04:00
more fixes
This commit is contained in:
@@ -305,6 +305,13 @@ bool Matcher::do_match(Form* input, MatchResult::Maps* maps_out, const Env* cons
|
||||
}
|
||||
}
|
||||
|
||||
auto as_stack_spill =
|
||||
dynamic_cast<StackSpillValueElement*>(input->try_as_single_active_element());
|
||||
if (as_stack_spill) {
|
||||
got = true;
|
||||
result = make_stack_slot_access(as_stack_spill->stack_offset());
|
||||
}
|
||||
|
||||
if (got) {
|
||||
if (m_kind == Kind::REG) {
|
||||
return result.reg() == *m_reg;
|
||||
|
||||
Reference in New Issue
Block a user