Reviewers: Sven Panne,

Description:
Force inline Math.random.

[email protected]

Please review this at https://codereview.chromium.org/85483002/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files (+1, -0 lines):
  M src/math.js


Index: src/math.js
diff --git a/src/math.js b/src/math.js
index fb7d30694e48781b80eca7f95748527b1bcbce63..789886e2d1c4abf87d0bb2ba5612e35f1f263e33 100644
--- a/src/math.js
+++ b/src/math.js
@@ -348,6 +348,7 @@ function SetUpMath() {
     "imul", MathImul
   ));

+  %SetInlineBuiltinFlag(MathRandom);
   %SetInlineBuiltinFlag(MathSin);
   %SetInlineBuiltinFlag(MathCos);
   %SetInlineBuiltinFlag(MathTan);


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to