From b8f619550d54ca4cc956f331b18e1659ab1813b6 Mon Sep 17 00:00:00 2001 From: hrydgard Date: Thu, 18 Dec 2008 13:21:02 +0000 Subject: add ppc disassembly to jit results viewer windowTurn the JIT into a class. Indentation cleanup will be in a separate CL, and the block cache will later be split out into its own class. Cannot detect any speed difference whatsoever - the games spend 99.9% of their time in already jitted code anyway. I have a good reason for doing this - see upcoming changes. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1585 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/DebuggerWX/Src/CodeWindow.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'Source/Core/DebuggerWX/Src/CodeWindow.cpp') diff --git a/Source/Core/DebuggerWX/Src/CodeWindow.cpp b/Source/Core/DebuggerWX/Src/CodeWindow.cpp index d0b91984cb..4931c090b1 100644 --- a/Source/Core/DebuggerWX/Src/CodeWindow.cpp +++ b/Source/Core/DebuggerWX/Src/CodeWindow.cpp @@ -503,8 +503,8 @@ void CCodeWindow::OnJITOff(wxCommandEvent& event) { case IDM_JITUNLIMITED: Core::g_CoreStartupParameter.bJITUnlimitedCache = event.IsChecked(); - Jit64::ClearCache(); // allow InitCache() even after the game has started - Jit64::InitCache(); + jit.ClearCache(); // allow InitCache() even after the game has started + jit.InitCache(); GetMenuBar()->Enable(event.GetId(),!event.IsChecked()); break; case IDM_JITOFF: @@ -530,7 +530,7 @@ void CCodeWindow::OnJITOff(wxCommandEvent& event) case IDM_JITSROFF: Core::g_CoreStartupParameter.bJITSystemRegistersOff = event.IsChecked(); break; } - Jit64::ClearCache(); + jit.ClearCache(); } else { //event.Skip(); // this doesn't work GetMenuBar()->Check(event.GetId(),!event.IsChecked()); @@ -546,7 +546,7 @@ void CCodeWindow::OnJitMenu(wxCommandEvent& event) switch (event.GetId()) { case IDM_CLEARCODECACHE: - Jit64::ClearCache(); + jit.ClearCache(); break; case IDM_LOGINSTRUCTIONS: PPCTables::LogCompiledInstructions(); @@ -563,7 +563,7 @@ void CCodeWindow::OnProfilerMenu(wxCommandEvent& event) switch (event.GetId()) { case IDM_PROFILEBLOCKS: - Jit64::ClearCache(); + jit.ClearCache(); Profiler::g_ProfileBlocks = GetMenuBar()->IsChecked(IDM_PROFILEBLOCKS); break; case IDM_WRITEPROFILE: -- cgit v1.2.3