Author: Armin Rigo <[email protected]>
Branch: stmgc-c7
Changeset: r70306:f7a704c145ed
Date: 2014-03-27 15:31 +0100
http://bitbucket.org/pypy/pypy/changeset/f7a704c145ed/
Log: Fix: ll_int2hex turned inevitable
diff --git a/rpython/rtyper/lltypesystem/ll_str.py
b/rpython/rtyper/lltypesystem/ll_str.py
--- a/rpython/rtyper/lltypesystem/ll_str.py
+++ b/rpython/rtyper/lltypesystem/ll_str.py
@@ -39,7 +39,7 @@
j += 1
return result
-hex_chars = malloc(Array(Char), 16, immortal=True)
+hex_chars = malloc(Array(Char, hints={'immutable': True}), 16, immortal=True)
for i in range(16):
hex_chars[i] = "%x" % i
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit