--- old/src/share/vm/c1/c1_IR.hpp 2010-06-03 11:27:06.894749000 -0700 +++ new/src/share/vm/c1/c1_IR.hpp 2010-06-03 11:27:06.718868000 -0700 @@ -371,8 +371,8 @@ // instructions from the instruction list. // -class SubstitutionResolver: public BlockClosure { - static void substitute(Value* v); +class SubstitutionResolver: public BlockClosure, ValueVisitor { + virtual void visit(Value* v); public: SubstitutionResolver(IR* hir) {