[pypy-svn] r64024 - pypy/branch/pyjitpl5-simplify/pypy/jit/metainterp
arigo at codespeak.net
arigo at codespeak.net
Mon Apr 13 13:11:31 CEST 2009
Author: arigo
Date: Mon Apr 13 13:11:31 2009
New Revision: 64024
Modified:
pypy/branch/pyjitpl5-simplify/pypy/jit/metainterp/codewriter.py
Log:
Re-add an XXX (these operations are more general than strings and unicodes).
Modified: pypy/branch/pyjitpl5-simplify/pypy/jit/metainterp/codewriter.py
==============================================================================
--- pypy/branch/pyjitpl5-simplify/pypy/jit/metainterp/codewriter.py (original)
+++ pypy/branch/pyjitpl5-simplify/pypy/jit/metainterp/codewriter.py Mon Apr 13 13:11:31 2009
@@ -665,6 +665,7 @@
self.emit(self.var_position(op.args[2]))
def serialize_op_getinteriorarraysize(self, op):
+ # XXX only supports strings and unicodes for now
assert len(op.args) == 2
assert op.args[1].value == 'chars'
optype = op.args[0].concretetype
@@ -677,6 +678,7 @@
self.register_var(op.result)
def serialize_op_getinteriorfield(self, op):
+ # XXX only supports strings and unicodes for now
assert len(op.args) == 3
assert op.args[1].value == 'chars'
optype = op.args[0].concretetype
@@ -690,6 +692,7 @@
self.register_var(op.result)
def serialize_op_setinteriorfield(self, op):
+ # XXX only supports strings and unicodes for now
assert len(op.args) == 4
assert op.args[1].value == 'chars'
optype = op.args[0].concretetype
More information about the Pypy-commit
mailing list