polyglot.frontend
Class BarrierPass

java.lang.Object
  extended by polyglot.frontend.AbstractPass
      extended by polyglot.frontend.BarrierPass
All Implemented Interfaces:
Pass
Direct Known Subclasses:
GlobalBarrierPass

public class BarrierPass
extends AbstractPass

A BarrierPass is a special pass that ensures that all jobs that a given job J depends on have completed at least up to the last BarrierPass that J has completed.


Nested Class Summary
 
Nested classes/interfaces inherited from interface polyglot.frontend.Pass
Pass.ID
 
Field Summary
 
Fields inherited from class polyglot.frontend.AbstractPass
exclusive_time, id, inclusive_time
 
Fields inherited from interface polyglot.frontend.Pass
ADD_MEMBERS, ADD_MEMBERS_ALL, BUILD_TYPES, BUILD_TYPES_ALL, CLEAN_SIGS, CLEAN_SUPER, CLEAN_SUPER_ALL, CONSTRUCTOR_CHECK, DISAM, DISAM_ALL, DUMP, EXC_CHECK, EXIT_CHECK, FIRST_BARRIER, FOLD, FWD_REF_CHECK, INIT_CHECK, OUTPUT, PARSE, PRE_OUTPUT_ALL, REACH_CHECK, SERIALIZE, SET_EXPECTED_TYPES, TYPE_CHECK
 
Constructor Summary
BarrierPass(Pass.ID id, Job job)
           
 
Method Summary
 boolean run()
          Run all the other jobs with the same parent up to this pass.
 
Methods inherited from class polyglot.frontend.AbstractPass
exclusiveTime, id, inclusiveTime, name, resetTimers, toggleTimers, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BarrierPass

public BarrierPass(Pass.ID id,
                   Job job)
Method Detail

run

public boolean run()
Run all the other jobs with the same parent up to this pass.

Specified by:
run in interface Pass
Specified by:
run in class AbstractPass