Add some compiler features and documentation (#147)

* update doc

* add disassemble and type checking

* improve compiler error messages
This commit is contained in:
water111
2020-12-01 21:39:46 -05:00
committed by GitHub
parent 21fbdce7aa
commit 71dda76e2b
30 changed files with 1533 additions and 351 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ std::string FunctionDebugInfo::disassemble_debug_info(bool* had_failure) {
return result;
}
std::string DebugInfo::disassemble_debug_functions(bool* had_failure) {
std::string DebugInfo::disassemble_all_functions(bool* had_failure) {
std::string result;
for (auto& kv : m_functions) {
result += kv.second.disassemble_debug_info(had_failure) + "\n\n";