Пример #1
0
 def emit_operation(self, op):
     self.emitting_operation(op)
     self.emit_postponed_op()
     if op.is_comparison() or op.getopnum() == rop.CALL_MAY_FORCE or op.is_ovf():
         self.postponed_op = op
     else:
         Optimization.emit_operation(self, op)
Пример #2
0
 def emit_operation(self, op):
     self.emitting_operation(op)
     self.emit_postponed_op()
     if (op.is_comparison() or op.getopnum() == rop.CALL_MAY_FORCE
             or op.is_ovf()):
         self.postponed_op = op
     else:
         Optimization.emit_operation(self, op)
Пример #3
0
 def emit_operation(self, op):        
     self.emitting_operation(op)
     self.emit_postponed_op()
     if (op.is_comparison() or op.is_call_may_force()
         or op.is_ovf()):
         self.postponed_op = op
     else:
         Optimization.emit_operation(self, op)
Пример #4
0
 def emit_operation(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:
         Optimization.emit_operation(self, op)
Пример #5
0
 def emit_operation(self, op):
     self.emitting_operation(op)
     if self.postponed_op:
         postponed_op = self.postponed_op
         self.postponed_op = None
         self.next_optimization.propagate_forward(postponed_op)
     if (op.is_comparison() or op.getopnum() == rop.CALL_MAY_FORCE
         or op.is_ovf()):
         self.postponed_op = op
     else:
         Optimization.emit_operation(self, op)
Пример #6
0
 def emit_operation(self, op):
     if op.is_guard():
         if self.optimizer.pendingfields is None:
             self.optimizer.pendingfields = []
     Optimization.emit_operation(self, op)
Пример #7
0
 def emit_operation(self, op):
     if op.is_guard():
         if self.optimizer.pendingfields is None:
             self.optimizer.pendingfields = []
     Optimization.emit_operation(self, op)