]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - prvm_exec.c
Use an explicit jump table for QCVM instruction dispatch.
[xonotic/darkplaces.git] / prvm_exec.c
index b926f26c4590fe8282bbc149c870dfc12a902124..65ee31b2328a7175f9284c0699a7bb8f5393a6d8 100644 (file)
@@ -716,6 +716,9 @@ static void PRVM_StatementCoverageEvent(prvm_prog_t *prog, mfunction_t *func, in
        Con_Printf("prvm_coverage: %s just executed a statement at %s for the first time. Coverage: %.2f%%.\n", prog->name, PRVM_WhereAmI(vabuf, sizeof(vabuf), prog, func, statement), prog->statements_covered * 100.0 / prog->numstatements);
 }
 
+#ifdef __GNUC__
+#define HAVE_COMPUTED_GOTOS 1
+#endif
 
 #define OPA ((prvm_eval_t *)&prog->globals.fp[st->operand[0]])
 #define OPB ((prvm_eval_t *)&prog->globals.fp[st->operand[1]])