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

Issue 2007943002: [runtime] Fix number of literals for builtin functions. (Closed)

Created:
4 years, 7 months ago by Michael Starzinger
Modified:
4 years, 7 months ago
Reviewers:
mvstanton
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[runtime] Fix number of literals for builtin functions. This fixes the SharedFunctionInfo::num_literals field for global builtin functions (e.g. {Object} and friends) to be accurate. The field was not being updated by Runtime_SetCode. It also removes the dangerous and by now obsolete JSFunction::NumberOfLiterals accessor. R=mvstanton@chromium.org Committed: https://crrev.com/7ca1f80d3124c6bb097aacda22676f61f1af373b Cr-Commit-Position: refs/heads/master@{#36480}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fix unittest. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -13 lines) Patch
M src/compiler.cc View 1 chunk +1 line, -2 lines 0 comments Download
M src/objects.h View 1 chunk +0 lines, -3 lines 0 comments Download
M src/objects-inl.h View 1 chunk +0 lines, -5 lines 0 comments Download
M src/objects-printer.cc View 1 chunk +1 line, -0 lines 0 comments Download
M src/runtime/runtime-function.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M test/unittests/compiler/js-create-lowering-unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 10 (5 generated)
Michael Starzinger
4 years, 7 months ago (2016-05-24 14:14:35 UTC) #1
mvstanton
LGTM. https://codereview.chromium.org/2007943002/diff/1/src/objects-inl.h File src/objects-inl.h (left): https://codereview.chromium.org/2007943002/diff/1/src/objects-inl.h#oldcode6245 src/objects-inl.h:6245: Two way to look something up === at ...
4 years, 7 months ago (2016-05-24 14:35:09 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2007943002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2007943002/20001
4 years, 7 months ago (2016-05-24 15:07:55 UTC) #6
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 7 months ago (2016-05-24 15:12:07 UTC) #8
commit-bot: I haz the power
4 years, 7 months ago (2016-05-24 15:13:07 UTC) #10
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/7ca1f80d3124c6bb097aacda22676f61f1af373b
Cr-Commit-Position: refs/heads/master@{#36480}

Powered by Google App Engine
This is Rietveld 408576698