Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(204)

Issue 78283002: Restore saved caller FP registers on stub failure (Closed)

Created:
7 years, 1 month ago by ulan
Modified:
7 years, 1 month ago
Reviewers:
danno
CC:
v8-dev
Visibility:
Public.

Description

Restore saved caller FP registers on stub failure and preserve FP registers on NotifyStubFailure. In debug mode, clobber FP registers on each runtime call to increase chances of catching such bugs. R=danno@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=18000

Patch Set 1 : #

Total comments: 2

Patch Set 2 : Port to ia32, arm, and mips #

Unified diffs Side-by-side diffs Delta from patch set Stats (+320 lines, -112 lines) Patch
M src/arguments.h View 1 1 chunk +11 lines, -0 lines 0 comments Download
M src/arguments.cc View 1 1 chunk +7 lines, -0 lines 0 comments Download
M src/arm/builtins-arm.cc View 1 3 chunks +13 lines, -2 lines 0 comments Download
M src/arm/deoptimizer-arm.cc View 1 1 chunk +5 lines, -0 lines 0 comments Download
M src/arm/lithium-codegen-arm.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M src/arm/lithium-codegen-arm.cc View 1 6 chunks +43 lines, -21 lines 0 comments Download
M src/arm/macro-assembler-arm.h View 1 1 chunk +4 lines, -2 lines 0 comments Download
M src/builtins.h View 1 2 chunks +3 lines, -0 lines 0 comments Download
M src/deoptimizer.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M src/deoptimizer.cc View 1 1 chunk +1 line, -2 lines 0 comments Download
M src/ia32/builtins-ia32.cc View 1 3 chunks +13 lines, -2 lines 0 comments Download
M src/ia32/deoptimizer-ia32.cc View 1 1 chunk +7 lines, -0 lines 0 comments Download
M src/ia32/lithium-codegen-ia32.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M src/ia32/lithium-codegen-ia32.cc View 1 5 chunks +40 lines, -22 lines 0 comments Download
M src/ia32/macro-assembler-ia32.h View 1 1 chunk +4 lines, -2 lines 0 comments Download
M src/mips/builtins-mips.cc View 1 3 chunks +13 lines, -2 lines 0 comments Download
M src/mips/deoptimizer-mips.cc View 1 1 chunk +5 lines, -0 lines 0 comments Download
M src/mips/lithium-codegen-mips.cc View 1 6 chunks +43 lines, -21 lines 0 comments Download
M src/mips/macro-assembler-mips.h View 1 1 chunk +4 lines, -2 lines 0 comments Download
M src/x64/builtins-x64.cc View 1 3 chunks +13 lines, -2 lines 0 comments Download
M src/x64/deoptimizer-x64.cc View 1 1 chunk +5 lines, -0 lines 0 comments Download
M src/x64/lithium-codegen-x64.h View 1 chunk +4 lines, -0 lines 0 comments Download
M src/x64/lithium-codegen-x64.cc View 6 chunks +43 lines, -21 lines 0 comments Download
M src/x64/macro-assembler-x64.h View 1 chunk +4 lines, -2 lines 0 comments Download
A + test/mjsunit/regress/regress-clobbered-fp-regs.js View 1 chunk +25 lines, -9 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
ulan
PTAL
7 years, 1 month ago (2013-11-20 13:29:07 UTC) #1
danno
Definitely heading in the right direction, I like this a lot. https://codereview.chromium.org/78283002/diff/60001/src/arguments.cc File src/arguments.cc (right): ...
7 years, 1 month ago (2013-11-20 13:55:51 UTC) #2
ulan
Ported to other architectures. Please take a look. https://codereview.chromium.org/78283002/diff/60001/src/arguments.cc File src/arguments.cc (right): https://codereview.chromium.org/78283002/diff/60001/src/arguments.cc#newcode120 src/arguments.cc:120: double ...
7 years, 1 month ago (2013-11-20 16:20:05 UTC) #3
danno
lgtm
7 years, 1 month ago (2013-11-21 20:24:29 UTC) #4
ulan
7 years, 1 month ago (2013-11-22 10:22:07 UTC) #5
Message was sent while issue was closed.
Committed patchset #2 manually as r18000 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698