code: def _dispatch(self, stmt, stage, *args):
          
          class_name = stmt.__class__.__name__
          policy = self.processed_policies[stmt.uuid]
          func_name = '%s_%s_%s' % (class_name.lower(), stage, policy)
          func = globals().get(func_name)
          if func is None:
              # The specific policy is not implemented for the
              # given statement type.
              # We try to apply a default policy next.
              func_name = '%s_%s_default' % (class_name.lower(), stage)
              func = globals().get(func_name)
              if func is None:
                  # The given statement type doesn't have a default
                  # policy.
                  #raise UnknownPolicyError('%s function %s not defined' %
                  #                         (stage, func_name))
                  logger.warning('%s function %s not defined' %
                                 (stage, func_name))
                  return
          return func(stmt, *args)
docs: Construct and call an assembly function.
  
          This function constructs the name of the assembly function based on
          the type of statement, the corresponding policy and the stage
          of assembly. It then calls that function to perform the assembly
          task.