Skip to content

Commit

Permalink
Bug 1284441 - Remove unnecessary cast from ExpressionDecompiler::deco…
Browse files Browse the repository at this point in the history
…mpilePC. r=arai
  • Loading branch information
jinankjain committed Jul 21, 2016
1 parent c9c9ed8 commit 8a8f739
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/src/jsopcode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1213,7 +1213,7 @@ ExpressionDecompiler::decompilePC(jsbytecode* pc)
return decompilePCForStackOperand(pc, -int32_t(GET_ARGC(pc) + 2)) &&
write("(...)");
case JSOP_SPREADCALL:
return decompilePCForStackOperand(pc, -int32_t(3)) &&
return decompilePCForStackOperand(pc, -3) &&
write("(...)");
case JSOP_NEWARRAY:
return write("[]");
Expand Down

0 comments on commit 8a8f739

Please sign in to comment.