diff options
| author | hrydgard <hrydgard@gmail.com> | 2010-05-29 18:22:50 +0000 |
|---|---|---|
| committer | hrydgard <hrydgard@gmail.com> | 2010-05-29 18:22:50 +0000 |
| commit | 659d5705c9415344a88e95667807adf92586d981 (patch) | |
| tree | b33a909ac15cb065967b00f59076ce7dc8dceb1c /Source/UnitTests/DSPJitTester.cpp | |
| parent | 926f96daf0e055a362b41887ab690354f4bbd869 (diff) | |
DSPLLE: Some cleanup. Possibly very small speed increase.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5535 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/UnitTests/DSPJitTester.cpp')
| -rw-r--r-- | Source/UnitTests/DSPJitTester.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/UnitTests/DSPJitTester.cpp b/Source/UnitTests/DSPJitTester.cpp index af23ec34f2..b374a49a97 100644 --- a/Source/UnitTests/DSPJitTester.cpp +++ b/Source/UnitTests/DSPJitTester.cpp @@ -41,7 +41,7 @@ SDSP DSPJitTester::RunJit(SDSP dsp_settings) ResetJit(); memcpy(&g_dsp, &dsp_settings, sizeof(SDSP)); const u8* code = jit.GetCodePtr(); - jit.WriteCallInterpreter(instruction); + jit.EmitInstruction(instruction); jit.RET(); ((void(*)())code)(); @@ -113,8 +113,8 @@ void DSPJitTester::DumpJittedCode() { ResetJit(); const u8* code = jit.GetCodePtr(); - jit.WriteCallInterpreter(instruction); - int code_size = jit.GetCodePtr() - code; + jit.EmitInstruction(instruction); + size_t code_size = jit.GetCodePtr() - code; printf("%s emitted: ", instruction_name); for (int i = 0; i < code_size; i++) |
