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

Issue 1870433003: Improve elements validation and object printing (Closed)

Created:
4 years, 8 months ago by Camillo Bruni
Modified:
4 years, 8 months ago
Reviewers:
Toon Verwaest
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Improve elements validation and object printing Make sure we check that packed elements do not containt TheHole. %DebugPrint: - Only print the transition arrays for maps - Print more detailed instance types directly for objects - directly print the array length for JS_ARRAY objects BUG= Committed: https://crrev.com/9285ac92ace7f4d1fb42c5ab502513d4cde7d71d Cr-Commit-Position: refs/heads/master@{#35338}

Patch Set 1 #

Patch Set 2 : revert accidental change #

Patch Set 3 : further checks #

Total comments: 5

Patch Set 4 : addressing nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+57 lines, -27 lines) Patch
M src/builtins.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M src/elements.cc View 1 2 3 7 chunks +26 lines, -13 lines 0 comments Download
M src/objects-inl.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/objects-printer.cc View 5 chunks +28 lines, -11 lines 0 comments Download

Messages

Total messages: 10 (4 generated)
Camillo Bruni
PTAL
4 years, 8 months ago (2016-04-07 11:51:41 UTC) #2
Toon Verwaest
lgtm https://codereview.chromium.org/1870433003/diff/40001/src/elements.cc File src/elements.cc (right): https://codereview.chromium.org/1870433003/diff/40001/src/elements.cc#newcode1582 src/elements.cc:1582: DCHECK(map != heap->fixed_cow_array_map()); DCHECK_NE Would already be included ...
4 years, 8 months ago (2016-04-07 13:01:39 UTC) #3
Camillo Bruni
https://codereview.chromium.org/1870433003/diff/40001/src/elements.cc File src/elements.cc (right): https://codereview.chromium.org/1870433003/diff/40001/src/elements.cc#newcode1583 src/elements.cc:1583: if (map == heap->fixed_array_map()) DCHECK_EQ(0, length); On 2016/04/07 at ...
4 years, 8 months ago (2016-04-07 13:12:38 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1870433003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1870433003/60001
4 years, 8 months ago (2016-04-07 14:53:20 UTC) #7
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 8 months ago (2016-04-07 15:27:44 UTC) #8
commit-bot: I haz the power
4 years, 8 months ago (2016-04-07 15:29:20 UTC) #10
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/9285ac92ace7f4d1fb42c5ab502513d4cde7d71d
Cr-Commit-Position: refs/heads/master@{#35338}

Powered by Google App Engine
This is Rietveld 408576698