[pypy-svn] r28474 - pypy/dist/pypy/translator/cli
antocuni at codespeak.net
antocuni at codespeak.net
Wed Jun 7 19:18:39 CEST 2006
Author: antocuni
Date: Wed Jun 7 19:18:38 2006
New Revision: 28474
Modified:
pypy/dist/pypy/translator/cli/opcodes.py
Log:
Added support for 'ooidentityhash'.
Modified: pypy/dist/pypy/translator/cli/opcodes.py
==============================================================================
--- pypy/dist/pypy/translator/cli/opcodes.py (original)
+++ pypy/dist/pypy/translator/cli/opcodes.py Wed Jun 7 19:18:38 2006
@@ -49,6 +49,8 @@
'oononnull': [PushAllArgs, 'ldnull', 'ceq']+Not,
'instanceof': [CastTo, 'ldnull', 'cgt.un'],
'subclassof': [PushAllArgs, 'call bool [pypylib]pypy.runtime.Utils::SubclassOf(class [mscorlib]System.Type, class[mscorlib]System.Type)'],
+ 'ooidentityhash': [PushAllArgs, 'callvirt instance int32 object::GetHashCode()'],
+
'same_as': DoNothing, # TODO: does same_as really do nothing else than renaming?
'direct_call': [Call],
More information about the Pypy-commit
mailing list