[pypy-svn] pypy jit-short_from_state: hg merge
hakanardo
commits-noreply at bitbucket.org
Sat Apr 16 13:41:02 CEST 2011
Author: Hakan Ardo <hakan at debian.org>
Branch: jit-short_from_state
Changeset: r43399:9c09f1f0dc5f
Date: 2011-04-16 13:40 +0200
http://bitbucket.org/pypy/pypy/changeset/9c09f1f0dc5f/
Log: hg merge
diff --git a/pypy/rlib/jit.py b/pypy/rlib/jit.py
--- a/pypy/rlib/jit.py
+++ b/pypy/rlib/jit.py
@@ -13,6 +13,8 @@
the same (same numbers or same pointers)
(2) it's fine to remove the call completely if we can guess the result
according to rule 1
+ (3) the function call can be moved around by optimizer,
+ but only so it'll be called earlier and not later.
Most importantly it doesn't mean that pure function has no observable
side effect, but those side effects can be ommited (ie caching).
More information about the Pypy-commit
mailing list