Use a cache when generating the map header to minimize stack wastage

This commit is contained in:
gingerBill
2022-09-17 12:56:03 +01:00
parent 7840c1b89f
commit 0ebc2add03
3 changed files with 51 additions and 39 deletions
+1
View File
@@ -308,6 +308,7 @@ struct lbProcedure {
PtrMap<Ast *, lbValue> selector_values;
PtrMap<Ast *, lbAddr> selector_addr;
PtrMap<LLVMValueRef, lbAddr> map_header_cache;
};