Browse files

Add of interface for ordering CompilerPasses and executing them in co…

…rrect order
  • Loading branch information...
1 parent d458be8 commit fadcc90451aa8368ec6f478a906735ac2b3cef8d @komax committed Jul 25, 2013
Showing with 8 additions and 0 deletions.
  1. +8 −0 core/src/main/java/org/jruby/ir/passes/CompilerPassScheduler.java
View
8 core/src/main/java/org/jruby/ir/passes/CompilerPassScheduler.java
@@ -0,0 +1,8 @@
+package org.jruby.ir.passes;
+
+import java.util.Iterator;
+
+public interface CompilerPassScheduler extends Iterator<CompilerPass> {
+ public boolean hasNext();
+ public CompilerPass next();
+}

0 comments on commit fadcc90

Please sign in to comment.