From 4627bb4b5c3ccc8431fbba68a78efd50ebb13909 Mon Sep 17 00:00:00 2001 From: Benoit Giannangeli Date: Mon, 13 Feb 2017 11:35:50 +0100 Subject: JSHint --- src/lundump.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/lundump.js') diff --git a/src/lundump.js b/src/lundump.js index b104e32..67867bb 100644 --- a/src/lundump.js +++ b/src/lundump.js @@ -105,11 +105,11 @@ class BytecodeParser { /* creates a mask with 'n' 0 bits at position 'p' */ static MASK0(n, p) { - return (~MASK1(n,p)); + return (~BytecodeParser.MASK1(n,p)); } readInstruction() { - let ins = new DataView(new Buffer(this.instructionSize)) + let ins = new DataView(new Buffer(this.instructionSize)); for (let i = 0; i < this.instructionSize; i++) ins.setUint8(i, this.readByte()); @@ -210,7 +210,7 @@ class BytecodeParser { varname: this.readString(), startpc: this.readInt(), endpc: this.readInt() - } + }; console.log(` f.locvars[${i}].varname = ${f.locvars[i].varname} -- cgit v1.2.3-54-g00ecf