Change Math.random() to return 32 bits of random goodness, instead of 30 random bits...
authorwhesse@chromium.org <whesse@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 7 Apr 2010 08:18:51 +0000 (08:18 +0000)
committerwhesse@chromium.org <whesse@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 7 Apr 2010 08:18:51 +0000 (08:18 +0000)
commitc33886c9b7b5a5e1a08ca15c5a8319a5b71e7643
tree3c5d6bef09913e2f5ecb7731fb2b97ef0e5b3438
parentd73f9f0f3338fdf4c972d0313808fa6c10fb30ce
Change Math.random() to return 32 bits of random goodness, instead of 30 random bits.  Math.random now allocates a HeapNumber inline, and calls a C funciton directly to put the random bits into it.
Review URL: http://codereview.chromium.org/1599019

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@4354 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
16 files changed:
src/arm/codegen-arm.cc
src/arm/codegen-arm.h
src/assembler.cc
src/assembler.h
src/codegen.h
src/ia32/codegen-ia32.cc
src/ia32/codegen-ia32.h
src/math.js
src/mips/codegen-mips.cc
src/mips/codegen-mips.h
src/serialize.cc
src/v8.cc
src/v8.h
src/x64/codegen-x64.cc
src/x64/codegen-x64.h
test/cctest/test-log-stack-tracer.cc