Author: hager <sven.ha...@uni-duesseldorf.de> Branch: ppc-jit-backend Changeset: r52235:aa6ac7b936e9 Date: 2012-02-08 16:19 +0100 http://bitbucket.org/pypy/pypy/changeset/aa6ac7b936e9/
Log: remove comments and move of import to top of file diff --git a/pypy/jit/backend/ppc/assembler.py b/pypy/jit/backend/ppc/assembler.py --- a/pypy/jit/backend/ppc/assembler.py +++ b/pypy/jit/backend/ppc/assembler.py @@ -1,5 +1,6 @@ import os from pypy.jit.backend.ppc import form +from pypy.jit.backend.ppc import asmfunc # don't be fooled by the fact that there's some separation between a # generic assembler class and a PPC assembler class... there's @@ -51,7 +52,7 @@ inst.fields[f] = l buf = [] for inst in self.insts: - buf.append(inst)#.assemble()) + buf.append(inst) if dump: for i in range(len(buf)): inst = self.disassemble(buf[i], self.rlabels, i*4) @@ -61,12 +62,8 @@ return buf def assemble(self, dump=os.environ.has_key('PPY_DEBUG')): - #insns = self.assemble0(dump) - from pypy.jit.backend.ppc import asmfunc c = asmfunc.AsmCode(len(self.insts)*4) for i in self.insts: - c.emit(i)#.assemble()) - #return c.get_function() def get_idescs(cls): r = [] _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit