mirror of
https://github.com/open-goal/jak-project
synced 2026-09-03 18:23:39 -04:00
[Decompiler] Replace type hint system and improve variable types. (#320)
* get gkernel and gkernel-h at least somewhat working in the offline tests * strip comments from json * switch hints to casts. online tests passing, offline passing up to gkernel * variable retyping is added * fix up casts in lets * update
This commit is contained in:
@@ -284,8 +284,13 @@ void SimpleAtomElement::get_modified_regs(RegSet& regs) const {
|
||||
SetVarElement::SetVarElement(const RegisterAccess& var,
|
||||
Form* value,
|
||||
bool is_sequence_point,
|
||||
TypeSpec src_type,
|
||||
const SetVarInfo& info)
|
||||
: m_dst(var), m_src(value), m_is_sequence_point(is_sequence_point), m_var_info(info) {
|
||||
: m_dst(var),
|
||||
m_src(value),
|
||||
m_is_sequence_point(is_sequence_point),
|
||||
m_src_type(src_type),
|
||||
m_var_info(info) {
|
||||
value->parent_element = this;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user