Fix a few potential integer negation overflows
authorjkummerow <jkummerow@chromium.org>
Wed, 15 Apr 2015 13:55:26 +0000 (06:55 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 15 Apr 2015 13:55:21 +0000 (13:55 +0000)
commite02807ee8a6a254c694da007420ef78b40ac9f62
tree74ddbc1cb86122837c862d3344ce815f0377251a
parent8da9252f61d3c499a78b0b94299c314b2eb0b0c8
Fix a few potential integer negation overflows

AFAICT none of these can actually be triggered currently; but it's still good to harden the code a little.

Review URL: https://codereview.chromium.org/1058533007

Cr-Commit-Position: refs/heads/master@{#27848}
src/arm/assembler-arm.cc
src/arm/lithium-codegen-arm.cc
src/arm64/lithium-codegen-arm64.cc
src/deoptimizer.cc
src/hydrogen-dehoist.cc
src/hydrogen-instructions.cc
src/mips/lithium-codegen-mips.cc
src/mips64/lithium-codegen-mips64.cc