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

Issue 335653002: Have one, long-lived map for bound functions. (Closed)

Created:
6 years, 6 months ago by Jakob Kummerow
Modified:
6 years, 6 months ago
Reviewers:
Toon Verwaest
CC:
v8-dev, Paweł Hajdan Jr., Vyacheslav Egorov (Chromium)
Visibility:
Public.

Description

Have one, long-lived map for bound functions. This avoids creating a new map for every bound function. Bonus: some cleanup in Runtime_FunctionBindArguments. R=verwaest@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=21839

Patch Set 1 #

Total comments: 2

Patch Set 2 : addressed comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+88 lines, -62 lines) Patch
M include/v8.h View 1 1 chunk +1 line, -1 line 0 comments Download
M src/bootstrapper.cc View 1 13 chunks +56 lines, -32 lines 0 comments Download
M src/contexts.h View 1 2 chunks +2 lines, -0 lines 0 comments Download
M src/runtime.cc View 1 4 chunks +14 lines, -9 lines 0 comments Download
M src/v8natives.js View 1 chunk +8 lines, -12 lines 0 comments Download
A + test/mjsunit/runtime-gen/functionbindarguments.js View 1 chunk +4 lines, -6 lines 0 comments Download
M tools/generate-runtime-tests.py View 1 2 chunks +3 lines, -2 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Jakob Kummerow
Toon: PTAL. Slava: FYI.
6 years, 6 months ago (2014-06-12 15:19:02 UTC) #1
Toon Verwaest
lgtm with suggestion https://codereview.chromium.org/335653002/diff/1/src/bootstrapper.cc File src/bootstrapper.cc (right): https://codereview.chromium.org/335653002/diff/1/src/bootstrapper.cc#newcode271 src/bootstrapper.cc:271: enum ForBoundFunctionMode { I'd rather name ...
6 years, 6 months ago (2014-06-12 21:53:35 UTC) #2
Jakob Kummerow
I like that suggestion. https://codereview.chromium.org/335653002/diff/1/src/bootstrapper.cc File src/bootstrapper.cc (right): https://codereview.chromium.org/335653002/diff/1/src/bootstrapper.cc#newcode271 src/bootstrapper.cc:271: enum ForBoundFunctionMode { On 2014/06/12 ...
6 years, 6 months ago (2014-06-13 11:43:13 UTC) #3
Jakob Kummerow
6 years, 6 months ago (2014-06-13 12:19:19 UTC) #4
Message was sent while issue was closed.
Committed patchset #2 manually as r21839 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698