Description[turbofan] Create initial map on-demand for F.prototype.
When accessing the "prototype" property of a known JSFunction in
TurboFan, we can automatically create the initial map if it hasn't been
instantiated so far. This happens with hand-grown inheritance mechanisms
where the base classes might not be instantiated regularly at all, but
the base class constructors are only called via F.p.call from the
subclass constructors.
R=mstarzinger@chromium.org
BUG=v8:5267
Review-Url: https://codereview.chromium.org/2830633002
Cr-Commit-Position: refs/heads/master@{#44720}
Committed: https://chromium.googlesource.com/v8/v8/+/4da9be30c7a4b81c57d41af30bf0eb326bac833f
Patch Set 1 #
Total comments: 1
Patch Set 2 : Of course do this only for constructors. #
Depends on Patchset: Messages
Total messages: 17 (10 generated)
|