Description[builtins] Use JSObject::New in C++ builtins.
We already have a proper abstraction for dealing with subclassable
builtins, namely JSObject::New, so we should use that instead of
inlining this rather complex code sequence multiple times.
R=verwaest@chromium.org
Committed: https://crrev.com/528bb4b960aa2b980d5e1716bd0eebf059c131e7
Cr-Commit-Position: refs/heads/master@{#34094}
Patch Set 1 #
Messages
Total messages: 8 (2 generated)
|