[pypy-svn] r67602 - pypy/trunk/pypy/translator/cli
antocuni at codespeak.net
antocuni at codespeak.net
Thu Sep 10 12:01:18 CEST 2009
Author: antocuni
Date: Thu Sep 10 12:01:18 2009
New Revision: 67602
Modified:
pypy/trunk/pypy/translator/cli/opcodes.py
Log:
remove this nops. They were introduced for debugging, but obviously they are not needed
Modified: pypy/trunk/pypy/translator/cli/opcodes.py
==============================================================================
--- pypy/trunk/pypy/translator/cli/opcodes.py (original)
+++ pypy/trunk/pypy/translator/cli/opcodes.py Thu Sep 10 12:01:18 2009
@@ -114,9 +114,8 @@
'ullong_is_true': [PushAllArgs, 'ldc.i8 0', 'cgt.un'],
'ullong_invert': 'not',
- # XXX: why nop nop nop?
- 'ooisnull': [PushAllArgs, 'nop', 'nop', 'nop', 'ldnull', 'ceq'],
- 'oononnull': [PushAllArgs, 'nop', 'nop', 'nop', 'nop', 'ldnull', 'ceq']+Not,
+ 'ooisnull': [PushAllArgs, 'ldnull', 'ceq'],
+ 'oononnull': [PushAllArgs, 'ldnull', 'ceq']+Not,
# when casting from bool we want that every truth value is casted
# to 1: we can't simply DoNothing, because the CLI stack could
More information about the Pypy-commit
mailing list