shithub: libmujs

Download patch

ref: a5c747f1d40e8d6659a37a8d25f13fb5acf8e767
parent: 5c337af4b3df80cf967e4f9f6a21522de84b392a
author: Tor Andersson <tor.andersson@artifex.com>
date: Tue Oct 25 10:08:27 EDT 2016

Fix 697171: missed an operand in the bytecode debugger dump.

--- a/jscompile.h
+++ b/jscompile.h
@@ -21,7 +21,7 @@
 
 	OP_NEWARRAY,
 	OP_NEWOBJECT,
-	OP_NEWREGEXP,
+	OP_NEWREGEXP,	/* -S,opts- <regexp> */
 
 	OP_UNDEF,
 	OP_NULL,
--- a/jsdump.c
+++ b/jsdump.c
@@ -750,6 +750,7 @@
 		case OP_INITVAR:
 		case OP_DEFVAR:
 		case OP_GETVAR:
+		case OP_HASVAR:
 		case OP_SETVAR:
 		case OP_DELVAR:
 		case OP_GETPROP_S: