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

Issue 16381006: Change PC for OSR entries to point to something more sensible (i.e. the first UnknownOsrValue), rem… (Closed)

Created:
7 years, 6 months ago by titzer
Modified:
7 years, 6 months ago
Reviewers:
Michael Starzinger
CC:
v8-dev
Visibility:
Public.

Description

Change PC for OSR entries to point to something more sensible (i.e. the first UnknownOsrValue), removing the need to record spilled OSR values and the need for duplicate deopt entries. Committed: https://code.google.com/p/v8/source/detail?r=15331

Patch Set 1 #

Total comments: 6

Patch Set 2 : Cleanups after review; add back in UNREACHABLE cases and rename OSR tests. #

Patch Set 3 : Merge with latest changes from mstarzinger and others. #

Patch Set 4 : Add --always-osr flag. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+121 lines, -531 lines) Patch
M src/arm/lithium-arm.h View 1 2 1 chunk +1 line, -17 lines 0 comments Download
M src/arm/lithium-arm.cc View 1 2 3 2 chunks +0 lines, -26 lines 0 comments Download
M src/arm/lithium-codegen-arm.cc View 1 2 3 4 chunks +6 lines, -32 lines 0 comments Download
M src/deoptimizer.h View 1 2 2 chunks +2 lines, -6 lines 0 comments Download
M src/deoptimizer.cc View 1 2 11 chunks +21 lines, -41 lines 0 comments Download
M src/flag-definitions.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M src/ia32/lithium-codegen-ia32.cc View 1 2 3 4 chunks +6 lines, -32 lines 0 comments Download
M src/ia32/lithium-ia32.h View 1 2 1 chunk +1 line, -17 lines 0 comments Download
M src/ia32/lithium-ia32.cc View 1 2 3 1 chunk +0 lines, -25 lines 0 comments Download
M src/lithium.h View 1 2 3 4 chunks +0 lines, -19 lines 0 comments Download
M src/lithium-allocator.h View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M src/lithium-allocator.cc View 1 2 3 2 chunks +0 lines, -32 lines 0 comments Download
M src/mips/lithium-codegen-mips.cc View 1 2 3 4 chunks +6 lines, -32 lines 0 comments Download
M src/mips/lithium-mips.h View 1 2 1 chunk +1 line, -17 lines 0 comments Download
M src/mips/lithium-mips.cc View 1 2 3 2 chunks +0 lines, -26 lines 0 comments Download
M src/objects.cc View 1 2 3 1 chunk +0 lines, -3 lines 0 comments Download
M src/runtime-profiler.cc View 1 2 3 2 chunks +12 lines, -6 lines 0 comments Download
M src/x64/lithium-codegen-x64.cc View 1 2 3 4 chunks +6 lines, -32 lines 0 comments Download
M src/x64/lithium-x64.h View 1 2 1 chunk +1 line, -17 lines 0 comments Download
M src/x64/lithium-x64.cc View 1 2 3 1 chunk +0 lines, -25 lines 0 comments Download
A + test/mjsunit/compiler/osr-big.js View 1 1 chunk +15 lines, -10 lines 0 comments Download
A + test/mjsunit/compiler/osr-nested.js View 1 1 chunk +15 lines, -9 lines 0 comments Download
A + test/mjsunit/compiler/osr-one.js View 1 1 chunk +10 lines, -6 lines 0 comments Download
A + test/mjsunit/compiler/osr-regress-max-locals.js View 1 0 chunks +-1 lines, --1 lines 0 comments Download
A + test/mjsunit/compiler/osr-simple.js View 1 0 chunks +-1 lines, --1 lines 0 comments Download
A + test/mjsunit/compiler/osr-two.js View 1 1 chunk +13 lines, -9 lines 0 comments Download
A + test/mjsunit/compiler/osr-with-args.js View 1 2 chunks +6 lines, -6 lines 0 comments Download
D test/mjsunit/compiler/regress-max-locals-for-osr.js View 1 1 chunk +0 lines, -43 lines 0 comments Download
D test/mjsunit/compiler/simple-osr.js View 1 1 chunk +0 lines, -44 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
titzer
7 years, 6 months ago (2013-06-11 15:23:48 UTC) #1
Michael Starzinger
https://codereview.chromium.org/16381006/diff/1/src/deoptimizer.cc File src/deoptimizer.cc (left): https://codereview.chromium.org/16381006/diff/1/src/deoptimizer.cc#oldcode1736 src/deoptimizer.cc:1736: UNREACHABLE(); Don't remove the unreachable assertion, other cases fall-through ...
7 years, 6 months ago (2013-06-11 17:24:06 UTC) #2
Michael Starzinger
Can we flip the name of the test cases so that they all have a ...
7 years, 6 months ago (2013-06-11 18:45:01 UTC) #3
titzer
https://codereview.chromium.org/16381006/diff/1/src/deoptimizer.cc File src/deoptimizer.cc (left): https://codereview.chromium.org/16381006/diff/1/src/deoptimizer.cc#oldcode1736 src/deoptimizer.cc:1736: UNREACHABLE(); On 2013/06/11 17:24:07, Michael Starzinger wrote: > Don't ...
7 years, 6 months ago (2013-06-12 09:30:04 UTC) #4
Michael Starzinger
LGTM. Nice simplification.
7 years, 6 months ago (2013-06-12 09:36:42 UTC) #5
titzer
7 years, 6 months ago (2013-06-26 08:43:50 UTC) #6
Message was sent while issue was closed.
Committed patchset #4 manually as r15331 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698