[RFC] Jit64: add a macro for easy interpreter fallback

Only for Jit64 for now.
Did someone say my name???
On Jun 14, 2014 3:22 PM, "Pierre Bourdon" <notifications@github.com> wrote:

> In Source/Core/Core/PowerPC/JitCommon/JitBase.h:
>
> > @@ -32,10 +32,12 @@
> >  // #define INSTRUCTION_START PPCTables::CountInstruction(inst);
> >  #define INSTRUCTION_START
> >
> > -#define JITDISABLE(setting)                     \
> > -	if (Core::g_CoreStartupParameter.bJITOff || \
> > -		Core::g_CoreStartupParameter.setting)   \
> > -	{ FallBackToInterpreter(inst); return; }
> > +#define FALLBACK_IF(cond) \
> > +	if (cond) { FallBackToInterpreter(inst); return; }
>
> Bleh, just noticed JITDISABLE was already doing it wrong. If you want to
> fix it, feel free, otherwise I'll just summon @Lioncash
> <https://github.com/Lioncash> to do it later :p
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/dolphin-emu/dolphin/pull/490/files#r13782383>.
>