Commit 08e0429c authored by Stefan Marr's avatar Stefan Marr

Added missing primitive Object>>#halt

Signed-off-by: 's avatarStefan Marr <git@stefan-marr.de>
parent 40550c90
......@@ -65,6 +65,12 @@ def _instVarAtPut(ivkbl, frame, interpreter):
rcvr.set_field(idx.get_embedded_integer() - 1, val)
def _halt(ivkbl, frame, interpreter):
# noop
print "BREAKPOINT"
class ObjectPrimitives(Primitives):
def install_primitives(self):
......@@ -76,3 +82,6 @@ class ObjectPrimitives(Primitives):
self._install_instance_primitive(Primitive("perform:withArguments:", self._universe, _performWithArguments))
self._install_instance_primitive(Primitive("instVarAt:", self._universe, _instVarAt))
self._install_instance_primitive(Primitive("instVarAt:put:", self._universe, _instVarAtPut))
self._install_instance_primitive(Primitive("halt", self._universe, _halt))
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