Commit 6b6aed8e authored by Stefan Marr's avatar Stefan Marr

Need to use a copy of the literal list

Otherwise, RPython can't proof that it is not going to be modified.
Signed-off-by: 's avatarStefan Marr <git@stefan-marr.de>
parent 9f1a6714
......@@ -33,7 +33,7 @@ class MethodGenerationContext(object):
meth = universe.new_method(self._signature,
len(self._bytecode),
self._literals,
list(self._literals),
universe.new_integer(num_locals),
universe.new_integer(self._compute_stack_depth()))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment