[pypy-svn] r48059 - pypy/dist/pypy/lang/smalltalk

oscar at codespeak.net oscar at codespeak.net
Fri Oct 26 15:05:23 CEST 2007


Author: oscar
Date: Fri Oct 26 15:05:22 2007
New Revision: 48059

Modified:
   pypy/dist/pypy/lang/smalltalk/interpreter.py
Log:
(toon, oscar) bytecodePrimEquivalent


Modified: pypy/dist/pypy/lang/smalltalk/interpreter.py
==============================================================================
--- pypy/dist/pypy/lang/smalltalk/interpreter.py	(original)
+++ pypy/dist/pypy/lang/smalltalk/interpreter.py	Fri Oct 26 15:05:22 2007
@@ -384,7 +384,7 @@
         self.callPrimitiveAndPush(primitives.AT_END, "atEnd", 0, interp)
 
     def bytecodePrimEquivalent(self, interp):
-        raise MissingBytecode("bytecodePrimEquivalent")
+        self.callPrimitiveAndPush(primitives.EQUIVALENT, "==", 1, interp)
 
     def bytecodePrimClass(self, interp):
         self.callPrimitiveAndPush(



More information about the Pypy-commit mailing list