mirror of
https://github.com/open-goal/jak-project.git
synced 2024-11-23 14:20:07 +00:00
f9d8fcd6e4
* mips 2 c basic version, not yet tested * calling works without crashing, but the function doesn't * it works * add test * cleanup and actually add the test * dont use mips2c by default for font * clean up formatting
19 lines
540 B
C++
19 lines
540 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
#include <unordered_map>
|
|
#include <vector>
|
|
|
|
#include "common/util/Range.h"
|
|
#include "decompiler/Disasm/Instruction.h"
|
|
#include "decompiler/util/StackSpillMap.h"
|
|
|
|
namespace decompiler {
|
|
|
|
/*!
|
|
* Given the instructions for a function, build a StackSpillMap containing all memory used to
|
|
* spill register variables. The range should be the non-prologue/non-epilogue instruction range.
|
|
*/
|
|
StackSpillMap build_spill_map(const std::vector<Instruction>& instructions, Range<int> range);
|
|
|
|
} // namespace decompiler
|