forked from mirrors/gecko-dev
Bug 1889088: Mark Reflect.apply as inlinable. r=iain
Differential Revision: https://phabricator.services.mozilla.com/D206348
This commit is contained in:
parent
9e7e6eacf6
commit
e29ae201ca
1 changed files with 2 additions and 0 deletions
|
|
@ -52,6 +52,8 @@ function Reflect_apply(target, thisArgument, argumentsList) {
|
||||||
// Steps 2-4.
|
// Steps 2-4.
|
||||||
return callFunction(std_Function_apply, target, thisArgument, argumentsList);
|
return callFunction(std_Function_apply, target, thisArgument, argumentsList);
|
||||||
}
|
}
|
||||||
|
// This function is only barely too long for normal inlining.
|
||||||
|
SetIsInlinableLargeFunction(Reflect_apply);
|
||||||
|
|
||||||
// ES2017 draft rev a785b0832b071f505a694e1946182adeab84c972
|
// ES2017 draft rev a785b0832b071f505a694e1946182adeab84c972
|
||||||
// 26.1.2 Reflect.construct ( target, argumentsList [ , newTarget ] )
|
// 26.1.2 Reflect.construct ( target, argumentsList [ , newTarget ] )
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue