Force inline Math.random.
authoryangguo@chromium.org <yangguo@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 25 Nov 2013 12:50:52 +0000 (12:50 +0000)
committeryangguo@chromium.org <yangguo@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 25 Nov 2013 12:50:52 +0000 (12:50 +0000)
R=svenpanne@chromium.org

Review URL: https://codereview.chromium.org/85483002

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18047 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

src/math.js

index fb7d30694e48781b80eca7f95748527b1bcbce63..789886e2d1c4abf87d0bb2ba5612e35f1f263e33 100644 (file)
@@ -348,6 +348,7 @@ function SetUpMath() {
     "imul", MathImul
   ));
 
+  %SetInlineBuiltinFlag(MathRandom);
   %SetInlineBuiltinFlag(MathSin);
   %SetInlineBuiltinFlag(MathCos);
   %SetInlineBuiltinFlag(MathTan);