--- a/hotspot/src/share/vm/adlc/forms.hpp Fri Mar 06 21:36:50 2009 -0800
+++ b/hotspot/src/share/vm/adlc/forms.hpp Mon Mar 09 03:17:11 2009 -0700
@@ -342,6 +342,7 @@
void reset(); // Reset iteration
const char *iter(); // after reset(), first element : else next
const char *current(); // return current element in iteration.
+ const char *peek(int skip = 1); // returns element + skip in iteration if there is one
bool current_is_signal(); // Return 'true' if current entry is signal
bool is_signal(const char *entry); // Return true if entry is a signal