mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-03 13:31:27 +12:00
spu_runtime::add minor optimization
Use preallocated vectors in trampoline generation subroutine
This commit is contained in:
parent
2b66abaf10
commit
58358e85dd
3 changed files with 30 additions and 13 deletions
|
@ -7,6 +7,14 @@
|
|||
#include <array>
|
||||
#include <functional>
|
||||
|
||||
enum class jit_class
|
||||
{
|
||||
ppu_code,
|
||||
ppu_data,
|
||||
spu_code,
|
||||
spu_data,
|
||||
};
|
||||
|
||||
// ASMJIT runtime for emitting code in a single 2G region
|
||||
struct jit_runtime final : asmjit::HostRuntime
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue