[pypy-svn] r47914 - pypy/dist/pypy/lang/smalltalk
arigo at codespeak.net
arigo at codespeak.net
Thu Oct 25 13:50:20 CEST 2007
Author: arigo
Date: Thu Oct 25 13:50:19 2007
New Revision: 47914
Modified:
pypy/dist/pypy/lang/smalltalk/classtable.py
pypy/dist/pypy/lang/smalltalk/interpreter.py
Log:
Define w_MethodContext.
Modified: pypy/dist/pypy/lang/smalltalk/classtable.py
==============================================================================
--- pypy/dist/pypy/lang/smalltalk/classtable.py (original)
+++ pypy/dist/pypy/lang/smalltalk/classtable.py Thu Oct 25 13:50:19 2007
@@ -94,3 +94,4 @@
define_cls("w_False", "w_Boolean")
define_cls("w_ByteArray", "w_ArrayedCollection", format=shadow.BYTES)
define_cls("w_CompiledMethod", "w_ByteArray", format=shadow.COMPILED_METHOD)
+define_cls("w_MethodContext", "w_Object")
Modified: pypy/dist/pypy/lang/smalltalk/interpreter.py
==============================================================================
--- pypy/dist/pypy/lang/smalltalk/interpreter.py (original)
+++ pypy/dist/pypy/lang/smalltalk/interpreter.py Thu Oct 25 13:50:19 2007
@@ -20,7 +20,7 @@
self.pc = 0
def getclass(self):
- from pypy.lang.smalltalk.classtable import w_MethodContext # XXX do me
+ from pypy.lang.smalltalk.classtable import w_MethodContext
return w_MethodContext
def gethash(self):
More information about the Pypy-commit
mailing list