[pypy-commit] lang-js default: replaced jit test example code

stepahn noreply at buildbot.pypy.org
Fri Dec 28 11:31:59 CET 2012


Author: Stephan <stephan at stzal.com>
Branch: 
Changeset: r104:b4491b59d1c9
Date: 2011-07-04 15:16 +0200
http://bitbucket.org/pypy/lang-js/changeset/b4491b59d1c9/

Log:	replaced jit test example code

diff --git a/js/test/jit.py b/js/test/jit.py
--- a/js/test/jit.py
+++ b/js/test/jit.py
@@ -15,7 +15,9 @@
     def test_append(self):
         code = """
         function f() {
-            for(i = 0; i < 100; i++){
+            var i = 0;
+            while(i < 100) {
+                i++;
             }
         }
         f();


More information about the pypy-commit mailing list