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

Issue 2608333003: PreParsing inner funcs: Do fewer variable name lookups. (Closed)

Created:
3 years, 11 months ago by marja
Modified:
3 years, 11 months ago
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

PreParsing inner funcs: Do fewer variable name lookups. It's unnecessarily to first lookup and then insert. BUG=v8:5501 Review-Url: https://codereview.chromium.org/2608333003 Cr-Commit-Position: refs/heads/master@{#42065} Committed: https://chromium.googlesource.com/v8/v8/+/11d13027e8c68b5406c85f08390586e49e4c42f9

Patch Set 1 #

Patch Set 2 : comment #

Patch Set 3 : add dcheck #

Total comments: 2

Patch Set 4 : code review (jochen@) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -5 lines) Patch
M src/ast/scopes.h View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M src/ast/scopes.cc View 1 2 3 1 chunk +2 lines, -3 lines 0 comments Download

Messages

Total messages: 15 (8 generated)
marja
ptal
3 years, 11 months ago (2017-01-04 10:42:35 UTC) #4
jochen (gone - plz use gerrit)
https://codereview.chromium.org/2608333003/diff/40001/src/ast/scopes.cc File src/ast/scopes.cc (right): https://codereview.chromium.org/2608333003/diff/40001/src/ast/scopes.cc#newcode56 src/ast/scopes.cc:56: void VariableMap::LookupOrDeclareName(Zone* zone, const AstRawString* name) { LookupOrDeclare sounds ...
3 years, 11 months ago (2017-01-04 10:51:13 UTC) #6
marja
On 2017/01/04 10:51:13, jochen wrote: > https://codereview.chromium.org/2608333003/diff/40001/src/ast/scopes.cc > File src/ast/scopes.cc (right): > > https://codereview.chromium.org/2608333003/diff/40001/src/ast/scopes.cc#newcode56 > ...
3 years, 11 months ago (2017-01-04 10:52:12 UTC) #7
jochen (gone - plz use gerrit)
that would lgtm
3 years, 11 months ago (2017-01-04 10:55:57 UTC) #8
marja
I see what you did there https://codereview.chromium.org/2608333003/diff/40001/src/ast/scopes.cc File src/ast/scopes.cc (right): https://codereview.chromium.org/2608333003/diff/40001/src/ast/scopes.cc#newcode56 src/ast/scopes.cc:56: void VariableMap::LookupOrDeclareName(Zone* zone, ...
3 years, 11 months ago (2017-01-04 11:31:46 UTC) #9
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/2608333003/60001
3 years, 11 months ago (2017-01-04 11:32:23 UTC) #12
commit-bot: I haz the power
3 years, 11 months ago (2017-01-04 11:58:25 UTC) #15
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/v8/v8/+/11d13027e8c68b5406c85f08390586e49e4...

Powered by Google App Engine
This is Rietveld 408576698