[pypy-commit] lang-js default: fixed a parse error

stepahn noreply at buildbot.pypy.org
Wed May 18 19:27:43 CEST 2011


Author: Stephan <stephan at stzal.com>
Branch: 
Changeset: r68:d30cc78fa0f6
Date: 2011-05-18 11:41 +0200
http://bitbucket.org/pypy/lang-js/changeset/d30cc78fa0f6/

Log:	fixed a parse error

diff --git a/js/bench/v8/v1/crypto.js b/js/bench/v8/v1/crypto.js
--- a/js/bench/v8/v1/crypto.js
+++ b/js/bench/v8/v1/crypto.js
@@ -1408,7 +1408,8 @@
 
 // Mix in the current time (w/milliseconds) into the pool
 function rng_seed_time() {
-  rng_seed_int(new Date().getTime());
+  var now = new Date();
+  rng_seed_int(now.getTime());
 }
 
 // Initialize the pool with junk if needed.


More information about the pypy-commit mailing list