#pragma once #include #include #include #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& instructions, Range range); } // namespace decompiler