comparison src/share/vm/c1/c1_IR.hpp @ 1584:b812ff5abc73

6958292: C1: Enable parallel compilation Summary: Enable parallel compilation in C1 Reviewed-by: never, kvn
author iveresov
date Fri, 04 Jun 2010 11:18:04 -0700
parents e9ff18c4ace7
children f02a8bbe6ed4
comparison
equal deleted inserted replaced
1583:02e771df338e 1584:b812ff5abc73
369 369
370 // Globally do instruction substitution and remove substituted 370 // Globally do instruction substitution and remove substituted
371 // instructions from the instruction list. 371 // instructions from the instruction list.
372 // 372 //
373 373
374 class SubstitutionResolver: public BlockClosure { 374 class SubstitutionResolver: public BlockClosure, ValueVisitor {
375 static void substitute(Value* v); 375 virtual void visit(Value* v);
376 376
377 public: 377 public:
378 SubstitutionResolver(IR* hir) { 378 SubstitutionResolver(IR* hir) {
379 hir->iterate_preorder(this); 379 hir->iterate_preorder(this);
380 } 380 }