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. #
Messages
Total messages: 10 (5 generated)
|