Skip to content

Commit

Permalink
fix dnu after special selector crash (fixes OaM DNU test #131)
Browse files Browse the repository at this point in the history
  • Loading branch information
timfel committed Dec 21, 2016
1 parent 233e52d commit 5e3965b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rsqueakvm/interpreter_bytecodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,7 @@ def _sendSpecialSelector(self, interp, receiver, special_selector, w_args=[]):
w_method = s_class.lookup(w_special_selector)
if w_method is None:
w_method = s_class.lookup(space.w_doesNotUnderstand)
self.push(receiver) # need to put receiver back on stack
if w_method is None:
s_class = receiver.class_shadow(self.space)
assert isinstance(s_class, ClassShadow)
Expand Down

0 comments on commit 5e3965b

Please sign in to comment.