Пример #1
0
 def _execute_token(self, loop_token):
     compiled_version = loop_token.compiled_loop_token.compiled_version
     frame = llimpl.new_frame(self.is_oo, self)
     # setup the frame
     llimpl.frame_clear(frame, compiled_version)
     # run the loop
     fail_index = llimpl.frame_execute(frame)
     # we hit a FAIL operation.
     self.latest_frame = frame
     return fail_index
Пример #2
0
 def _execute_token(self, loop_token):
     compiled_version = loop_token.compiled_loop_token.compiled_version
     frame = llimpl.new_frame(self.is_oo, self)
     # setup the frame
     llimpl.frame_clear(frame, compiled_version)
     # run the loop
     fail_index = llimpl.frame_execute(frame)
     # we hit a FAIL operation.
     self.latest_frame = frame
     return fail_index
Пример #3
0
 def execute_token(self, loop_token):
     """Calls the assembler generated for the given loop.
     Returns the ResOperation that failed, of type rop.FAIL.
     """
     compiled_version = loop_token._llgraph_compiled_version
     frame = llimpl.new_frame(self.memo_cast, self.is_oo)
     # setup the frame
     llimpl.frame_clear(frame, compiled_version)
     # run the loop
     fail_index = llimpl.frame_execute(frame)
     # we hit a FAIL operation.
     self.latest_frame = frame
     return fail_index
Пример #4
0
 def execute_token(self, loop_token):
     """Calls the assembler generated for the given loop.
     Returns the ResOperation that failed, of type rop.FAIL.
     """
     compiled_version = loop_token._llgraph_compiled_version
     frame = llimpl.new_frame(self.memo_cast, self.is_oo)
     # setup the frame
     llimpl.frame_clear(frame, compiled_version)
     # run the loop
     fail_index = llimpl.frame_execute(frame)
     # we hit a FAIL operation.
     self.latest_frame = frame
     return fail_index