Author: Armin Rigo <[email protected]>
Branch:
Changeset: r79733:19e4ec471578
Date: 2015-09-21 09:16 +0200
http://bitbucket.org/pypy/pypy/changeset/19e4ec471578/
Log: Skip these new parts of the test on llgraph
diff --git a/rpython/jit/backend/test/runner_test.py
b/rpython/jit/backend/test/runner_test.py
--- a/rpython/jit/backend/test/runner_test.py
+++ b/rpython/jit/backend/test/runner_test.py
@@ -3852,17 +3852,19 @@
finish_descr2 = loop2.operations[-1].getdescr()
# check the jitframeinfo
- num1 = looptoken.compiled_loop_token.frame_info.jfi_frame_depth
- num2 = looptoken2.compiled_loop_token.frame_info.jfi_frame_depth
- assert num1 < num2
+ if isinstance(self.cpu, AbstractLLCPU):
+ num1 = looptoken.compiled_loop_token.frame_info.jfi_frame_depth
+ num2 = looptoken2.compiled_loop_token.frame_info.jfi_frame_depth
+ assert num1 < num2
# install it
self.cpu.redirect_call_assembler(looptoken, looptoken2)
# check that the jitframeinfo was updated
- num1 = looptoken.compiled_loop_token.frame_info.jfi_frame_depth
- num2 = looptoken2.compiled_loop_token.frame_info.jfi_frame_depth
- assert num1 == num2
+ if isinstance(self.cpu, AbstractLLCPU):
+ num1 = looptoken.compiled_loop_token.frame_info.jfi_frame_depth
+ num2 = looptoken2.compiled_loop_token.frame_info.jfi_frame_depth
+ assert num1 == num2
# now, our call_assembler should go to looptoken2
args = [longlong.getfloatstorage(6.0),
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit