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

Issue 218403002: Fix Type::Intersect to allocate large enough union.

Created:
6 years, 8 months ago by Jakob Kummerow
Modified:
6 years, 8 months ago
Reviewers:
rossberg
CC:
v8-dev
Visibility:
Public.

Description

Fix Type::Intersect to allocate large enough union. Related cleanup: use List::Set(i, val) instead of List::at(i) = val. BUG=chromium:357330 LOG=y

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+61 lines, -56 lines) Patch
M src/global-handles.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/heap-snapshot-generator.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/hydrogen-instructions.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M src/jsregexp.cc View 8 chunks +10 lines, -10 lines 0 comments Download
M src/parser.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/types.h View 1 chunk +1 line, -1 line 0 comments Download
M src/types.cc View 4 chunks +36 lines, -30 lines 0 comments Download
A + test/mjsunit/regress/regress-crbug-357330.js View 1 chunk +9 lines, -12 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
Jakob Kummerow
PTAL. Does this fix make sense?
6 years, 8 months ago (2014-03-29 23:14:24 UTC) #1
rossberg
6 years, 8 months ago (2014-03-31 13:17:58 UTC) #2
On 2014/03/29 23:14:24, Jakob wrote:
> PTAL. Does this fix make sense?

It fixes the symptoms, but not the root bug, which was that the comparisons
"bitset != kNone" should have been refined to IsInhabited(bitset) when I
introduced representation types.

I fixed it here, reusing parts of your CL for clean-up:

https://codereview.chromium.org/219333003/

Powered by Google App Engine
This is Rietveld 408576698