1.1 --- a/src/share/vm/c1/c1_ValueStack.hpp Thu Jun 03 14:20:27 2010 -0700 1.2 +++ b/src/share/vm/c1/c1_ValueStack.hpp Fri Jun 04 11:18:04 2010 -0700 1.3 @@ -41,7 +41,7 @@ 1.4 } 1.5 1.6 // helper routine 1.7 - static void apply(Values list, void f(Value*)); 1.8 + static void apply(Values list, ValueVisitor* f); 1.9 1.10 public: 1.11 // creation 1.12 @@ -143,7 +143,7 @@ 1.13 void pin_stack_for_linear_scan(); 1.14 1.15 // iteration 1.16 - void values_do(void f(Value*)); 1.17 + void values_do(ValueVisitor* f); 1.18 1.19 // untyped manipulation (for dup_x1, etc.) 1.20 void clear_stack() { _stack.clear(); }