spu_runtime::add minor optimization
Use preallocated vectors in trampoline generation subroutine
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user