Commit Graph

11 Commits

Author SHA1 Message Date
Daniel Kirchner
1612648268 Maintain only one best candidate during combineStack. 2021-08-17 13:24:11 +02:00
Daniel Kirchner
79d39d241c Simplify compressStack. 2021-08-17 13:24:11 +02:00
Daniel Kirchner
ae48500147 Refactor createIdealLayout slightly and add more comments. 2021-08-16 17:34:00 +02:00
Daniel Kirchner
3bfd437ba7 Fixup! coding style from review suggestion. 2021-08-16 17:34:00 +02:00
Daniel Kirchner
556bd9adfc Remove fixStackTooDeep and adjust combineStack comments. 2021-08-16 17:34:00 +02:00
Daniel Kirchner
535d30bbb3 Avoid dupping slots if doing so causes other needed slots to become unreachable. 2021-08-16 17:34:00 +02:00
Daniel Kirchner
74edc40a7e Reorder functions in implementation to match order in header. 2021-08-16 17:34:00 +02:00
Daniel Kirchner
6037c4f26c Add function to FunctionReturnLabelSlot and assert that functions are identical in comparison operators. 2021-08-16 17:34:00 +02:00
Daniel Kirchner
9f46fff467 Review suggestions and a lot more comments. 2021-08-16 17:34:00 +02:00
Daniel Kirchner
a756ec3e0e Attempt to split up the main algorithm a bit. 2021-08-16 17:33:59 +02:00
Daniel Kirchner
1fd4cf2254 Stack layout generator for new code generation. 2021-08-16 17:33:59 +02:00