mirror of
https://github.com/open-goal/jak-project
synced 2026-07-10 07:07:04 -04:00
Add support for stack integers (#135)
* add support for stack integers * update documentation * revise value type stack variables
This commit is contained in:
@@ -160,7 +160,8 @@ AllocationResult allocate_registers(const AllocationInput& input) {
|
||||
// prepare the result
|
||||
result.ok = true;
|
||||
result.needs_aligned_stack_for_spills = cache.used_stack;
|
||||
result.stack_slots = cache.current_stack_slot;
|
||||
result.stack_slots_for_spills = cache.current_stack_slot;
|
||||
result.stack_slots_for_vars = input.stack_slots_for_stack_vars;
|
||||
|
||||
// copy over the assignment result
|
||||
result.assignment.resize(cache.max_var);
|
||||
|
||||
Reference in New Issue
Block a user