[decompiler] gkernel offline test (#321)

* working on pointer math

* bug fixes

* gkernel passing with no anon functions

* update tests
This commit is contained in:
water111
2021-03-14 16:11:42 -04:00
committed by GitHub
parent 814480f9e5
commit e93d97dd07
30 changed files with 2576 additions and 278 deletions
+1 -1
View File
@@ -222,7 +222,7 @@ Form* insert_cast_for_let(RegisterAccess dst,
Form* src,
FormPool& pool,
const Env& env) {
auto dst_type = env.get_variable_type(dst);
auto dst_type = env.get_variable_type(dst, true);
if (src_type != dst_type) {
// fmt::print("inserting let cast because {} != {}\n", dst_type.print(), src_type.print());