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

Issue 7464030: Fix calculation of 'scope_calls_eval' when 'eval' is within a nested catch. (Closed)

Created:
9 years, 5 months ago by Steven
Modified:
9 years, 4 months ago
CC:
v8-dev
Visibility:
Public.

Description

Fix calculation of 'scope_calls_eval' when 'eval' is within a nested catch. BUG= TEST=mjsunit/scope-calls-eval.js Committed: http://code.google.com/p/v8/source/detail?r=8756

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+77 lines, -5 lines) Patch
M src/parser.cc View 1 chunk +1 line, -0 lines 4 comments Download
M src/scopes.h View 1 chunk +11 lines, -5 lines 0 comments Download
A test/mjsunit/scope-calls-eval.js View 1 chunk +65 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Steven
PTAL
9 years, 5 months ago (2011-07-21 15:46:02 UTC) #1
Kevin Millikin (Chromium)
http://codereview.chromium.org/7464030/diff/1/src/parser.cc File src/parser.cc (right): http://codereview.chromium.org/7464030/diff/1/src/parser.cc#newcode2159 src/parser.cc:2159: if(catch_scope->calls_eval()) top_scope_->RecordEvalCall(); Style nit: there should be a space ...
9 years, 4 months ago (2011-07-28 08:53:40 UTC) #2
Steven
Does it LGTY? http://codereview.chromium.org/7464030/diff/1/src/parser.cc File src/parser.cc (right): http://codereview.chromium.org/7464030/diff/1/src/parser.cc#newcode2159 src/parser.cc:2159: if(catch_scope->calls_eval()) top_scope_->RecordEvalCall(); Removed. On 2011/07/28 08:53:40, ...
9 years, 4 months ago (2011-07-28 11:12:12 UTC) #3
Kevin Millikin (Chromium)
9 years, 4 months ago (2011-07-28 12:06:41 UTC) #4
Yes, LGTM with the discussed changes.

Powered by Google App Engine
This is Rietveld 408576698