[pypy-svn] r47989 - pypy/dist/pypy/lang/smalltalk
arigo at codespeak.net
arigo at codespeak.net
Thu Oct 25 21:21:57 CEST 2007
Author: arigo
Date: Thu Oct 25 21:21:56 2007
New Revision: 47989
Modified:
pypy/dist/pypy/lang/smalltalk/primitives.py
Log:
More untested code found.
Modified: pypy/dist/pypy/lang/smalltalk/primitives.py
==============================================================================
--- pypy/dist/pypy/lang/smalltalk/primitives.py (original)
+++ pypy/dist/pypy/lang/smalltalk/primitives.py Thu Oct 25 21:21:56 2007
@@ -52,6 +52,7 @@
def primitive(code):
def decorator(func):
+ assert code not in prim_table
prim_table[code] = func
return func
return decorator
@@ -471,7 +472,7 @@
# object to the other
return objtable.wrap_bool(w_arg is w_rcvr)
- at primitive(EQUIVALENT)
+ at primitive(CLASS)
@stack(1)
def func(args, (w_obj,)):
return w_obj.w_class
More information about the Pypy-commit
mailing list