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

Issue 253603003: Pass in the prototype to CreateApiFunction rather than setting it on the result. (Closed)

Created:
6 years, 8 months ago by Toon Verwaest
Modified:
6 years, 7 months ago
Reviewers:
Igor Sheludko
CC:
v8-dev
Visibility:
Public.

Description

Pass in the prototype to CreateApiFunction rather than setting it on the result. BUG= R=ishell@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=21066

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+75 lines, -39 lines) Patch
M src/apinatives.js View 1 chunk +16 lines, -18 lines 0 comments Download
M src/bootstrapper.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M src/factory.h View 2 chunks +7 lines, -0 lines 0 comments Download
M src/factory.cc View 5 chunks +44 lines, -17 lines 2 comments Download
M src/runtime.h View 1 chunk +1 line, -1 line 0 comments Download
M src/runtime.cc View 2 chunks +5 lines, -3 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Toon Verwaest
PTAL. Another step towards immediately making the prototype read-only rather than in Instantiate after CreateApiFunction.
6 years, 8 months ago (2014-04-25 13:35:14 UTC) #1
Igor Sheludko
lgtm with suggestion: https://codereview.chromium.org/253603003/diff/1/src/factory.cc File src/factory.cc (right): https://codereview.chromium.org/253603003/diff/1/src/factory.cc#newcode2120 src/factory.cc:2120: if (obj->remove_prototype()) return result; Does it ...
6 years, 7 months ago (2014-04-28 15:00:38 UTC) #2
Toon Verwaest
Done. Landing. https://codereview.chromium.org/253603003/diff/1/src/factory.cc File src/factory.cc (right): https://codereview.chromium.org/253603003/diff/1/src/factory.cc#newcode2120 src/factory.cc:2120: if (obj->remove_prototype()) return result; On 2014/04/28 15:00:38, ...
6 years, 7 months ago (2014-04-29 09:41:13 UTC) #3
Toon Verwaest
6 years, 7 months ago (2014-04-29 17:48:17 UTC) #4
Message was sent while issue was closed.
Committed patchset #1 manually as r21066 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698