Commit c16ed981 authored by Stefan Marr's avatar Stefan Marr

Fixed initialization of method fields

- need to be proper SOM objects
Signed-off-by: default avatarStefan Marr <git@stefan-marr.de>
parent 4ab3c89a
......@@ -25,8 +25,8 @@ class Method(Array):
self._inline_cache_class = None
self._inline_cache_invokable = None
self._number_of_locals = -1
self._maximum_number_of_stack_elements = -1
self._number_of_locals = nilObject
self._maximum_number_of_stack_elements = nilObject
def is_primitive(self):
return False
......
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