Author: David Schneider <[email protected]>
Branch: ppc-jit-backend
Changeset: r52715:cbc1e5945396
Date: 2012-02-21 01:38 -0800
http://bitbucket.org/pypy/pypy/changeset/cbc1e5945396/
Log: Allow to add an offset of 0 when using shadow stack, as long as the
offset is aligned
diff --git a/pypy/jit/backend/llsupport/gc.py b/pypy/jit/backend/llsupport/gc.py
--- a/pypy/jit/backend/llsupport/gc.py
+++ b/pypy/jit/backend/llsupport/gc.py
@@ -523,7 +523,7 @@
return []
def add_frame_offset(self, shape, offset):
- assert offset != 0
+ assert offset & 3 == 0
shape.append(offset)
def add_callee_save_reg(self, shape, register):
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit