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

Issue 9310027: Do not ignore an empty context with extension when creating a scope object. (Closed)

Created:
8 years, 10 months ago by ulan
Modified:
8 years, 10 months ago
CC:
v8-dev
Visibility:
Public.

Description

Do not ignore an empty context with extension when creating a scope object. Runtime_DebugEvaluate creates an empty context which is not correctly handled in FullCodeGenerator::ContextSlotOperandCheckExtensions because the corresponding scope indicates that it has no context. BUG=crbug.com/107996 TEST=test/mjsunit/regress/regress-crbug-107996.js Committed: https://code.google.com/p/v8/source/detail?r=10582

Patch Set 1 #

Total comments: 4

Patch Set 2 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+67 lines, -5 lines) Patch
M src/scopes.cc View 1 1 chunk +3 lines, -5 lines 0 comments Download
A test/mjsunit/regress/regress-crbug-107996.js View 1 chunk +64 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
ulan
Could please take a look?
8 years, 10 months ago (2012-02-01 16:06:54 UTC) #1
Kevin Millikin (Chromium)
There might be a simpler and safer way: https://chromiumcodereview.appspot.com/9310027/diff/1/src/scopes.cc File src/scopes.cc (left): https://chromiumcodereview.appspot.com/9310027/diff/1/src/scopes.cc#oldcode152 src/scopes.cc:152: if ...
8 years, 10 months ago (2012-02-02 08:36:13 UTC) #2
ulan
Thank you, Kevin. This way is much cleaner. I uploaded new patch set. https://chromiumcodereview.appspot.com/9310027/diff/1/src/scopes.cc File ...
8 years, 10 months ago (2012-02-02 09:16:19 UTC) #3
Kevin Millikin (Chromium)
8 years, 10 months ago (2012-02-02 09:21:13 UTC) #4
LGTM!

Powered by Google App Engine
This is Rietveld 408576698