src/share/vm/c1/c1_ValueStack.hpp
Print this page
@@ -39,11 +39,11 @@
assert(h->as_HiWord()->lo_word() == t, "incorrect stack pair");
return check(tag, t);
}
// helper routine
- static void apply(Values list, void f(Value*));
+ static void apply(Values list, ValueVisitor* f);
public:
// creation
ValueStack(IRScope* scope, int locals_size, int max_stack_size);
@@ -141,11 +141,11 @@
// pinning support
void pin_stack_for_linear_scan();
// iteration
- void values_do(void f(Value*));
+ void values_do(ValueVisitor* f);
// untyped manipulation (for dup_x1, etc.)
void clear_stack() { _stack.clear(); }
void truncate_stack(int size) { _stack.trunc_to(size); }
void raw_push(Value t) { _stack.push(t); }