mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 08:51:24 +00:00
Duke3d: flip CON_USE_COMPUTED_GOTO dispatch macro logic around so the branch is taken less often
This commit is contained in:
parent
34126a50be
commit
14f3eb17f1
1 changed files with 1 additions and 1 deletions
|
@ -1369,7 +1369,7 @@ static void ResizeArray(int const arrayNum, int const newSize)
|
|||
# define vmErrorCase VINST_CON_OPCODE_END
|
||||
# define eval(INSTRUCTION) { goto *jumpTable[min<uint16_t>(INSTRUCTION, CON_OPCODE_END)]; }
|
||||
# define dispatch_unconditionally(...) { g_tw = tw = *insptr; eval((VM_DECODE_INST(tw))) }
|
||||
# define dispatch(...) { if (vm_execution_depth && (vm.flags & (VM_RETURN|VM_KILL|VM_NOEXECUTE)) == 0) dispatch_unconditionally(__VA_ARGS__); return; }
|
||||
# define dispatch(...) { if (!vm_execution_depth || vm.flags & (VM_RETURN|VM_KILL|VM_NOEXECUTE)) return; dispatch_unconditionally(__VA_ARGS__); }
|
||||
# define abort_after_error(...) return
|
||||
# define vInstructionPointer(KEYWORDID) &&VINST_ ## KEYWORDID
|
||||
# define COMMA ,
|
||||
|
|
Loading…
Reference in a new issue