1383 if (ProfileInterpreter) { |
1383 if (ProfileInterpreter) { |
1384 // We have decided to profile this method in the interpreter |
1384 // We have decided to profile this method in the interpreter |
1385 __ bind(profile_method); |
1385 __ bind(profile_method); |
1386 __ call_VM(noreg, CAST_FROM_FN_PTR(address, InterpreterRuntime::profile_method)); |
1386 __ call_VM(noreg, CAST_FROM_FN_PTR(address, InterpreterRuntime::profile_method)); |
1387 __ set_method_data_pointer_for_bcp(); |
1387 __ set_method_data_pointer_for_bcp(); |
|
1388 __ get_method(rbx); |
1388 __ jmp(profile_method_continue); |
1389 __ jmp(profile_method_continue); |
1389 } |
1390 } |
1390 // Handle overflow of counter and compile method |
1391 // Handle overflow of counter and compile method |
1391 __ bind(invocation_counter_overflow); |
1392 __ bind(invocation_counter_overflow); |
1392 generate_counter_overflow(&continue_after_compile); |
1393 generate_counter_overflow(&continue_after_compile); |