Description[builtins] Add EmitFastNewObject
This refactors the logic from within the FastNewObject TF_BUILTIN to a
helper method which can be reused in other assemblers. This saves the
overhead of setting up the stub and calling into it.
A wrapper method is created for functions that don't need to tail call
into the runtime.
PromiseBuiltinsAssembler and RegexpBuiltinsAssembler are refactored to
use EmitFastNewObject.
Review-Url: https://codereview.chromium.org/2607233002
Cr-Commit-Position: refs/heads/master@{#42000}
Committed: https://chromium.googlesource.com/v8/v8/+/2077b314d5d5632da29262f610cd70c3c9536515
Patch Set 1 #
Messages
Total messages: 13 (9 generated)
|