[Decompiler] WIP: Stack Spills (#382)

* set up types

* cleaned up type analysis and got things working through atomic ops

* expression working, need types

* improved types and names

* getting close

* finish up dma-disasm

* fix
This commit is contained in:
water111
2021-04-25 14:48:54 -04:00
committed by GitHub
parent 54ccc9db97
commit 2002db359a
43 changed files with 3187 additions and 99 deletions
+3 -2
View File
@@ -472,9 +472,10 @@ Val* Compiler::compile_function_or_method_call(const goos::Object& form, Env* en
if (eval_args.empty()) {
throw_compiler_error(form, "Unrecognized symbol {} as head of form.", uneval_head.print());
}
// get the method function pointer
head = compile_get_method_of_object(form, eval_args.front(), symbol_string(uneval_head), env);
fmt::format("method of object {} {}\n", head->print(), head->type().print());
head = compile_get_method_of_object(form, eval_args.front(), symbol_string(uneval_head), env,
true);
}
// convert the head to a GPR (if function, this is already done)