Commit fb770d20 authored by Stefan Marr's avatar Stefan Marr

Remove i from the greens

Pointed out by @cfbolz, having i in the set of greens lets to complete unrolling of the loop.
Signed-off-by: 's avatarStefan Marr <git@stefan-marr.de>
parent 1d83e741
......@@ -204,14 +204,14 @@ def _fromString(ivkbl, frame, interpreter):
from rpython.rlib import jit
def get_printable_location(i, interpreter, block_method):
def get_printable_location(interpreter, block_method):
from som.vmobjects.method import Method
assert isinstance(block_method, Method)
return "TODO"
jitdriver = jit.JitDriver(
greens=['i', 'interpreter', 'block_method'],
greens=['interpreter', 'block_method'],
reds='auto',
# virtualizables=['frame'],
get_printable_location=get_printable_location)
......@@ -226,7 +226,7 @@ def _toDo(ivkbl, frame, interpreter):
context = block.get_context()
for i in range(self.get_embedded_integer(), limit.get_embedded_integer() + 1):
jitdriver.jit_merge_point(i=i, interpreter=interpreter,
jitdriver.jit_merge_point(interpreter=interpreter,
block_method=block_method)
b = universe.new_block(block_method, context)
......
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