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

Issue 578583002: Fixed deopt reasons in TaggedToI. (Closed)

Created:
6 years, 3 months ago by Sven Panne
Modified:
6 years, 3 months ago
Reviewers:
Jakob Kummerow
CC:
v8-dev
Project:
v8
Visibility:
Public.

Description

Fixed deopt reasons in TaggedToI. Every DeoptimizeIf should be preceded by a RecordComment explaining the reason. In the long run, the reason should be an argument of DeoptimizeIf, but we're not there yet. On x87, things are a bit ugly due to some pushing/popping, so if somebody feels inclined to improve this: Feel free. Probably the right approach would be reloading instead of the push/pop horror. Another thing is our inconsistent handling of the "done" continuation of deferred code on the various platforms, I made tiny changes on the way, but this should better be unified somehow, with all those micro-optimizations removed. R=jkummerow@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=23996

Patch Set 1 : #

Total comments: 2

Patch Set 2 : Addressed feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+114 lines, -156 lines) Patch
M src/arm/lithium-codegen-arm.cc View 1 2 chunks +4 lines, -2 lines 0 comments Download
M src/arm64/lithium-codegen-arm64.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M src/ia32/lithium-codegen-ia32.cc View 1 1 chunk +22 lines, -9 lines 0 comments Download
M src/ia32/macro-assembler-ia32.h View 1 chunk +0 lines, -3 lines 0 comments Download
M src/ia32/macro-assembler-ia32.cc View 1 chunk +0 lines, -34 lines 0 comments Download
M src/mips/lithium-codegen-mips.cc View 3 chunks +4 lines, -2 lines 0 comments Download
M src/mips64/lithium-codegen-mips64.cc View 3 chunks +4 lines, -2 lines 0 comments Download
M src/x64/lithium-codegen-x64.cc View 1 1 chunk +22 lines, -9 lines 0 comments Download
M src/x64/macro-assembler-x64.h View 1 chunk +0 lines, -4 lines 0 comments Download
M src/x64/macro-assembler-x64.cc View 1 chunk +0 lines, -33 lines 0 comments Download
M src/x87/lithium-codegen-x87.cc View 1 1 chunk +55 lines, -6 lines 0 comments Download
M src/x87/macro-assembler-x87.h View 1 chunk +0 lines, -3 lines 0 comments Download
M src/x87/macro-assembler-x87.cc View 1 chunk +0 lines, -47 lines 0 comments Download

Messages

Total messages: 5 (2 generated)
Sven Panne
6 years, 3 months ago (2014-09-17 08:57:04 UTC) #3
Jakob Kummerow
LGTM with comments (which apply to all platforms). https://codereview.chromium.org/578583002/diff/20001/src/ia32/lithium-codegen-ia32.cc File src/ia32/lithium-codegen-ia32.cc (right): https://codereview.chromium.org/578583002/diff/20001/src/ia32/lithium-codegen-ia32.cc#newcode4766 src/ia32/lithium-codegen-ia32.cc:4766: __ ...
6 years, 3 months ago (2014-09-17 09:22:35 UTC) #4
Sven Panne
6 years, 3 months ago (2014-09-17 09:51:33 UTC) #5
Message was sent while issue was closed.
Committed patchset #2 (id:40001) manually as 23996 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698