Include location information in all opcodes

This commit is contained in:
kpdecker
2014-11-06 09:44:38 -06:00
parent ea6b0be910
commit 249f559104
2 changed files with 50 additions and 45 deletions
@@ -84,6 +84,7 @@ JavaScriptCompiler.prototype = {
for (i = 0, l = opcodes.length; i < l; i++) {
opcode = opcodes[i];
this.currentLoc = opcode.loc;
this[opcode.opcode].apply(this, opcode.args);
}