Commit 085a4ca7 authored by Carl Friedrich Bolz's avatar Carl Friedrich Bolz

when actually reading the method, promote it

(it's green anyway, so it doesn't cost anything at all)
parent 96541693
......@@ -237,7 +237,7 @@ class Interpreter(object):
def get_method(self):
# Get the method from the interpreter
return self.get_frame().get_method()
return jit.promote(self.get_frame().get_method())
def get_self(self):
# Get the self object from the interpreter
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