From 5e3965bb6eb21e8791284a35dc0fd81fc3aff51e Mon Sep 17 00:00:00 2001 From: Tim Felgentreff Date: Tue, 20 Dec 2016 14:09:07 +0100 Subject: [PATCH] fix dnu after special selector crash (fixes OaM DNU test #131) --- rsqueakvm/interpreter_bytecodes.py | 1 + 1 file changed, 1 insertion(+) diff --git a/rsqueakvm/interpreter_bytecodes.py b/rsqueakvm/interpreter_bytecodes.py index 338a581a..0a50c29d 100644 --- a/rsqueakvm/interpreter_bytecodes.py +++ b/rsqueakvm/interpreter_bytecodes.py @@ -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)