예제 #1
0
 def __init__(self, longevity, stack_manager=None, assembler=None):
     RegisterManager.__init__(self, longevity, stack_manager=stack_manager,
                              assembler=assembler)
     self.constant_arrays = [self.new_const_array()]
     self.constant_arrays[-1][0] = NEG_ZERO
     self.constant_arrays[-1][1] = NAN
     self.constant_array_counter = 2
예제 #2
0
파일: regalloc.py 프로젝트: alkorzt/pypy
 def __init__(self, longevity, frame_manager=None, assembler=None):
     RegisterManager.__init__(self, longevity, frame_manager=frame_manager, assembler=assembler)
     if assembler is None:
         self.float_constants = FloatConstants()
     else:
         if assembler._float_constants is None:
             assembler._float_constants = FloatConstants()
         self.float_constants = assembler._float_constants
예제 #3
0
 def __init__(self, longevity, frame_manager=None, assembler=None):
     RegisterManager.__init__(self,
                              longevity,
                              frame_manager=frame_manager,
                              assembler=assembler)
     if assembler is None:
         self.float_constants = FloatConstants()
     else:
         if assembler._float_constants is None:
             assembler._float_constants = FloatConstants()
         self.float_constants = assembler._float_constants