예제 #1
0
 def emit(self, op):
     self.emitting_operation(op)
     self.emit_postponed_op()
     opnum = op.opnum
     if (rop.is_comparison(opnum) or rop.is_call_may_force(opnum)
             or rop.is_ovf(opnum)):
         self.postponed_op = op
     else:
         return Optimization.emit(self, op)
예제 #2
0
파일: heap.py 프로젝트: mozillazg/pypy
 def emit(self, op):
     self.emitting_operation(op)
     self.emit_postponed_op()
     opnum = op.opnum
     if (rop.is_comparison(opnum) or rop.is_call_may_force(opnum)
         or rop.is_ovf(opnum)):
         self.postponed_op = op
     else:
         return Optimization.emit(self, op)
예제 #3
0
파일: simplify.py 프로젝트: mozillazg/pypy
 def emit(self, op):
     if op.is_guard():
         if self.optimizer.pendingfields is None:
             self.optimizer.pendingfields = []
     return Optimization.emit(self, op)
예제 #4
0
 def emit(self, op):
     if op.is_guard():
         if self.optimizer.pendingfields is None:
             self.optimizer.pendingfields = []
     return Optimization.emit(self, op)