DescriptionInline builtin Math functions functions in more cases.
Until now we only could inline as specialized HIR instructions when called
as a method (e.g. Math.abs)
It is very common practice to abbreviate calls to those functions by defining
a global or local variable like:
var a = Math.abs;
var x = a(123);
This change allows inlining them when called as a function (global or local).
Committed: https://code.google.com/p/v8/source/detail?r=10640
Patch Set 1 #Patch Set 2 : '' #
Total comments: 5
Patch Set 3 : '' #
Messages
Total messages: 3 (0 generated)
|