comex b84f6a55ab Automatically disable fastmem and enable memcheck when there are any watchpoints.
- Move JitState::memcheck to JitOptions because it's an option.
- Add JitOptions::fastmem; switch JIT code to checking that rather than
  bFastmem directly.
- Add JitBase::UpdateMemoryOptions(), which sets both two JIT options
  (replacing the duplicate lines in Jit64 and JitIL that set memcheck
  from bMMU).
  - (!) The ARM JITs both had some lines that checked js.memcheck
    despite it being uninitialized in their cases.  I've added
    UpdateMemoryOptions to both.  There is a chance this could make
    something slower compared to the old behavior if the uninitialized
    value happened to be nonzero... hdkr should check this.
- UpdateMemoryOptions forces jo.fastmem and jo.memcheck off and on,
  respectively, if there are any watchpoints set.
- Also call that function from ClearCache.
- Have MemChecks call ClearCache when the {first,last} watchpoint is
  {added,removed}.

Enabling jo.memcheck (bah, confusing names) is currently pointless
because hitting a watchpoint does not interrupt the basic block.  That
will change in the next commit.
2015-04-24 22:37:53 -04:00
..
2015-01-12 15:18:18 -05:00
2014-08-30 18:06:35 -04:00
2015-02-25 10:48:21 -05:00
2015-02-25 10:48:21 -05:00
2015-01-12 15:18:18 -05:00
2014-03-09 21:14:26 +01:00
2015-02-25 10:48:21 -05:00
2015-02-25 10:48:21 -05:00
2015-02-25 10:48:21 -05:00
2015-01-29 01:55:20 -06:00
2015-02-25 10:48:21 -05:00
2015-03-04 17:15:29 -08:00
2015-02-25 10:48:21 -05:00
2014-03-07 21:40:59 +13:00
2014-06-22 20:04:46 +02:00
2014-06-22 20:04:46 +02:00
2014-12-03 22:01:12 -06:00
2014-12-03 00:50:41 +01:00
2014-03-14 13:51:23 -04:00
2015-03-14 20:20:41 -05:00
2015-02-12 02:14:49 +01:00
2015-01-12 15:18:18 -05:00
2014-12-03 00:50:41 +01:00
2015-02-25 10:48:21 -05:00
2014-10-25 16:57:25 -04:00
2015-02-25 10:48:21 -05:00
2015-02-25 10:48:21 -05:00