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

Issue 2257473002: Initialize num_heap_slots_ to MIN_CONTEXT_SLOTS in SetDefaults, make already_resolved_ debug-only (Closed)

Created:
4 years, 4 months ago by Toon Verwaest
Modified:
4 years, 4 months ago
Reviewers:
ortuno, neis
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

Initialize num_heap_slots_ to MIN_CONTEXT_SLOTS in SetDefaults, make already_resolved_ debug-only Variable alloction and block finalization may reset num_heap_slots_ to 0 later. BUG=v8:5209 Committed: https://crrev.com/b12669b0e2a68422243d18adafae7efe1ab4e704 Cr-Commit-Position: refs/heads/master@{#38687}

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -40 lines) Patch
M src/ast/scopes.h View 6 chunks +8 lines, -9 lines 0 comments Download
M src/ast/scopes.cc View 15 chunks +31 lines, -31 lines 1 comment Download

Messages

Total messages: 12 (4 generated)
Toon Verwaest
ptal
4 years, 4 months ago (2016-08-17 14:43:55 UTC) #2
neis
lgtm
4 years, 4 months ago (2016-08-17 15:38:03 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2257473002/1
4 years, 4 months ago (2016-08-17 16:02:02 UTC) #5
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 4 months ago (2016-08-17 16:26:30 UTC) #6
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/b12669b0e2a68422243d18adafae7efe1ab4e704 Cr-Commit-Position: refs/heads/master@{#38687}
4 years, 4 months ago (2016-08-17 16:26:54 UTC) #8
ortuno
https://codereview.chromium.org/2257473002/diff/1/src/ast/scopes.cc File src/ast/scopes.cc (right): https://codereview.chromium.org/2257473002/diff/1/src/ast/scopes.cc#newcode540 src/ast/scopes.cc:540: DCHECK(!already_resolved_); This line is causing a crash in Debug ...
4 years, 4 months ago (2016-08-19 02:20:54 UTC) #10
neis
On 2016/08/19 02:20:54, ortuno wrote: > https://codereview.chromium.org/2257473002/diff/1/src/ast/scopes.cc > File src/ast/scopes.cc (right): > > https://codereview.chromium.org/2257473002/diff/1/src/ast/scopes.cc#newcode540 > ...
4 years, 4 months ago (2016-08-19 05:54:47 UTC) #11
ortuno
4 years, 4 months ago (2016-08-19 17:12:41 UTC) #12
Message was sent while issue was closed.
On 2016/08/19 at 05:54:47, neis wrote:
> On 2016/08/19 02:20:54, ortuno wrote:
> > https://codereview.chromium.org/2257473002/diff/1/src/ast/scopes.cc
> > File src/ast/scopes.cc (right):
> > 
> >
https://codereview.chromium.org/2257473002/diff/1/src/ast/scopes.cc#newcode540
> > src/ast/scopes.cc:540: DCHECK(!already_resolved_);
> > This line is causing a crash in Debug builds. Is it a known issue?
> 
> I don't think so. Can you tell us how to reproduce this? Thanks!

Seems like the problem is now fixed on ToT. Thanks!

Powered by Google App Engine
This is Rietveld 408576698