From f5cd98a7e6c1594647a2df295cc4d149285311bd Mon Sep 17 00:00:00 2001 From: Jeff Parsons Date: Thu, 27 Aug 2015 17:13:27 -0700 Subject: [PATCH] Made DEBUG-only code, um, DEBUG-only --- modules/pcjs/lib/x86func.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/pcjs/lib/x86func.js b/modules/pcjs/lib/x86func.js index db9373512..9ad5a7d6f 100644 --- a/modules/pcjs/lib/x86func.js +++ b/modules/pcjs/lib/x86func.js @@ -3376,7 +3376,7 @@ X86.fnVERR = function VERR(dst, src) } } this.clearZF(); - if (this.sizeData > 2 || this.sizeAddr > 2) this.stopCPU(); + if (DEBUG && (this.sizeData > 2 || this.sizeAddr > 2)) this.stopCPU(); return dst; }; @@ -3414,7 +3414,7 @@ X86.fnVERW = function VERW(dst, src) } } this.clearZF(); - if (this.sizeData > 2 || this.sizeAddr > 2) this.stopCPU(); + if (DEBUG && (this.sizeData > 2 || this.sizeAddr > 2)) this.stopCPU(); return dst; };