comparison src/share/vm/ci/ciStreams.hpp @ 1138:dd57230ba8fe

6893268: additional dynamic language related optimizations in C2 Summary: C2 needs some additional optimizations to be able to handle MethodHandle invokes and invokedynamic instructions at the best performance. Reviewed-by: kvn, never
author twisti
date Tue, 05 Jan 2010 15:21:25 +0100
parents 97125851f396
children c18cbe5936b8 ab102d5d923e
comparison
equal deleted inserted replaced
1137:97125851f396 1138:dd57230ba8fe
230 ciMethod* get_method(bool& will_link); 230 ciMethod* get_method(bool& will_link);
231 ciKlass* get_declared_method_holder(); 231 ciKlass* get_declared_method_holder();
232 int get_method_holder_index(); 232 int get_method_holder_index();
233 int get_method_signature_index(); 233 int get_method_signature_index();
234 234
235 ciCPCache* get_cpcache(); 235 ciCPCache* get_cpcache();
236 ciCallSite* get_call_site();
236 237
237 private: 238 private:
238 void assert_index_size(int required_size) const { 239 void assert_index_size(int required_size) const {
239 #ifdef ASSERT 240 #ifdef ASSERT
240 int isize = instruction_size() - (is_wide() ? 1 : 0) - 1; 241 int isize = instruction_size() - (is_wide() ? 1 : 0) - 1;