1367 if (ProfileInterpreter) { |
1367 if (ProfileInterpreter) { |
1368 // We have decided to profile this method in the interpreter |
1368 // We have decided to profile this method in the interpreter |
1369 __ bind(profile_method); |
1369 __ bind(profile_method); |
1370 __ call_VM(noreg, CAST_FROM_FN_PTR(address, InterpreterRuntime::profile_method)); |
1370 __ call_VM(noreg, CAST_FROM_FN_PTR(address, InterpreterRuntime::profile_method)); |
1371 __ set_method_data_pointer_for_bcp(); |
1371 __ set_method_data_pointer_for_bcp(); |
|
1372 __ get_method(rbx); |
1372 __ jmp(profile_method_continue); |
1373 __ jmp(profile_method_continue); |
1373 } |
1374 } |
1374 // Handle overflow of counter and compile method |
1375 // Handle overflow of counter and compile method |
1375 __ bind(invocation_counter_overflow); |
1376 __ bind(invocation_counter_overflow); |
1376 generate_counter_overflow(&continue_after_compile); |
1377 generate_counter_overflow(&continue_after_compile); |