Skip to content

Commit

Permalink
#541: temporary workaround for infinite errors on github
Browse files Browse the repository at this point in the history
  • Loading branch information
classilla committed Oct 29, 2019
1 parent f71ffd5 commit 8c40900
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/src/frontend/BytecodeEmitter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1258,7 +1258,7 @@ CheckSetConstOp(JSOp op, ParseNode* pn)
switch (op) {
case JSOP_GETLOCAL: case JSOP_GETALIASEDVAR: break;
case JSOP_INITLEXICAL: case JSOP_INITALIASEDLEXICAL: break;
case JSOP_SETLOCAL: return JSOP_THROWSETCONST;
case JSOP_SETLOCAL: break; /* return JSOP_THROWSETCONST; */
case JSOP_SETALIASEDVAR: return JSOP_THROWSETALIASEDCONST;
default: MOZ_CRASH("unexpected set var op");
}
Expand Down

0 comments on commit 8c40900

Please sign in to comment.