Lines Matching refs:old_method
41 bool MethodComparator::methods_EMCP(methodOop old_method, methodOop new_method) {
42 if (old_method->code_size() != new_method->code_size())
44 if (check_stack_and_locals_size(old_method, new_method) != 0) {
47 old_method->name()->as_C_string(),
48 check_stack_and_locals_size(old_method, new_method)));
52 _old_cp = old_method->constants();
54 BytecodeStream s_old(old_method);
72 bool MethodComparator::methods_switchable(methodOop old_method, methodOop new_method,
74 if (old_method->code_size() > new_method->code_size())
78 if (! check_stack_and_locals_size(old_method, new_method))
81 _old_cp = old_method->constants();
83 BytecodeStream s_old(old_method);
433 int MethodComparator::check_stack_and_locals_size(methodOop old_method, methodOop new_method) {
434 if (old_method->max_stack() != new_method->max_stack()) {
436 } else if (old_method->max_locals() != new_method->max_locals()) {
438 } else if (old_method->size_of_parameters() != new_method->size_of_parameters()) {