Mercurial > hg > truffle
comparison src/share/vm/c1/c1_Instruction.cpp @ 1783:d5d065957597
6953144: Tiered compilation
Summary: Infrastructure for tiered compilation support (interpreter + c1 + c2) for 32 and 64 bit. Simple tiered policy implementation.
Reviewed-by: kvn, never, phh, twisti
author | iveresov |
---|---|
date | Fri, 03 Sep 2010 17:51:07 -0700 |
parents | b812ff5abc73 |
children | f02a8bbe6ed4 |
comparison
equal
deleted
inserted
replaced
1782:f353275af40e | 1783:d5d065957597 |
---|---|
738 for (Instruction* n = this; n != NULL; n = n->next()) n->values_do(f); | 738 for (Instruction* n = this; n != NULL; n = n->next()) n->values_do(f); |
739 } | 739 } |
740 | 740 |
741 | 741 |
742 #ifndef PRODUCT | 742 #ifndef PRODUCT |
743 #define TRACE_PHI(code) if (PrintPhiFunctions) { code; } | 743 #define TRACE_PHI(code) if (PrintPhiFunctions) { code; } |
744 #else | 744 #else |
745 #define TRACE_PHI(coce) | 745 #define TRACE_PHI(coce) |
746 #endif | 746 #endif |
747 | 747 |
748 | 748 |
749 bool BlockBegin::try_merge(ValueStack* new_state) { | 749 bool BlockBegin::try_merge(ValueStack* new_state) { |
750 TRACE_PHI(tty->print_cr("********** try_merge for block B%d", block_id())); | 750 TRACE_PHI(tty->print_cr("********** try_merge for block B%d", block_id())); |
1009 // Implementation of Throw | 1009 // Implementation of Throw |
1010 | 1010 |
1011 void Throw::state_values_do(ValueVisitor* f) { | 1011 void Throw::state_values_do(ValueVisitor* f) { |
1012 BlockEnd::state_values_do(f); | 1012 BlockEnd::state_values_do(f); |
1013 } | 1013 } |
1014 | |
1015 void ProfileInvoke::state_values_do(ValueVisitor* f) { | |
1016 if (state() != NULL) state()->values_do(f); | |
1017 } |