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

Issue 19588002: Fixed type feedback in presence of negative lookups. (Closed)

Created:
7 years, 5 months ago by Sven Panne
Modified:
7 years, 5 months ago
CC:
v8-dev
Visibility:
Public.

Description

Fixed type feedback in presence of negative lookups. To fix the issue at hand regarding constant function calls and perhaps other hidden issues regarding negative lookups, we basically add a "marker instruction", just for harvesting purposes. Our type feedback oracle is really, really fragile, we should better switch to some more explicit and robust scheme soon. BUG=chromium:252797 R=mstarzinger@chromium.org Committed: http://code.google.com/p/v8/source/detail?r=15741

Patch Set 1 #

Patch Set 2 : Added unit test. #

Total comments: 2

Patch Set 3 : Added TODOs #

Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -10 lines) Patch
M src/arm/stub-cache-arm.cc View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M src/ia32/stub-cache-ia32.cc View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M src/mips/stub-cache-mips.cc View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M src/x64/stub-cache-x64.cc View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
A + test/mjsunit/regress/regress-252797.js View 1 1 chunk +25 lines, -10 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Sven Panne
7 years, 5 months ago (2013-07-17 13:33:07 UTC) #1
Michael Starzinger
https://codereview.chromium.org/19588002/diff/2001/src/ia32/stub-cache-ia32.cc File src/ia32/stub-cache-ia32.cc (right): https://codereview.chromium.org/19588002/diff/2001/src/ia32/stub-cache-ia32.cc#newcode1136 src/ia32/stub-cache-ia32.cc:1136: __ mov(scratch1, Handle<Map>(object->map())); The StubCompiler::CheckPrototypes() helper is used in ...
7 years, 5 months ago (2013-07-17 15:03:30 UTC) #2
Michael Starzinger
https://codereview.chromium.org/19588002/diff/2001/src/ia32/stub-cache-ia32.cc File src/ia32/stub-cache-ia32.cc (right): https://codereview.chromium.org/19588002/diff/2001/src/ia32/stub-cache-ia32.cc#newcode1136 src/ia32/stub-cache-ia32.cc:1136: __ mov(scratch1, Handle<Map>(object->map())); On 2013/07/17 15:03:30, Michael Starzinger wrote: ...
7 years, 5 months ago (2013-07-17 15:15:17 UTC) #3
Sven Panne
As discussed offline, there is basically no way to statically determine all code paths which ...
7 years, 5 months ago (2013-07-18 09:01:29 UTC) #4
Michael Starzinger
LGTM. You convinced me. As discussed offline: If the performance impact of this change is ...
7 years, 5 months ago (2013-07-18 09:07:25 UTC) #5
Sven Panne
7 years, 5 months ago (2013-07-18 09:12:51 UTC) #6
Message was sent while issue was closed.
Committed patchset #3 manually as r15741 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698