jak-project/decompiler/analysis/expression_build.h
water111 814480f9e5
[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
2021-03-13 16:10:39 -05:00

20 lines
478 B
C++

#pragma once
#include <unordered_map>
#include <vector>
#include <string>
namespace decompiler {
class Form;
class Function;
class FormPool;
class DecompilerTypeSystem;
struct LocalVarOverride;
bool convert_to_expressions(
Form* top_level_form,
FormPool& pool,
Function& f,
const std::vector<std::string>& arg_names,
const std::unordered_map<std::string, LocalVarOverride>& var_override_map,
const DecompilerTypeSystem& dts);
} // namespace decompiler