equal
deleted
inserted
replaced
666 // ... |
666 // ... |
667 address TemplateInterpreterGenerator::generate_native_entry(bool synchronized) { |
667 address TemplateInterpreterGenerator::generate_native_entry(bool synchronized) { |
668 |
668 |
669 address entry = __ pc(); |
669 address entry = __ pc(); |
670 |
670 |
671 const bool inc_counter = UseCompiler || CountCompiledCalls; |
671 const bool inc_counter = UseCompiler || CountCompiledCalls || LogTouchedMethods; |
672 |
672 |
673 // ----------------------------------------------------------------------------- |
673 // ----------------------------------------------------------------------------- |
674 // Allocate a new frame that represents the native callee (i2n frame). |
674 // Allocate a new frame that represents the native callee (i2n frame). |
675 // This is not a full-blown interpreter frame, but in particular, the |
675 // This is not a full-blown interpreter frame, but in particular, the |
676 // following registers are valid after this: |
676 // following registers are valid after this: |
1116 } |
1116 } |
1117 |
1117 |
1118 // Generic interpreted method entry to (asm) interpreter. |
1118 // Generic interpreted method entry to (asm) interpreter. |
1119 // |
1119 // |
1120 address TemplateInterpreterGenerator::generate_normal_entry(bool synchronized) { |
1120 address TemplateInterpreterGenerator::generate_normal_entry(bool synchronized) { |
1121 bool inc_counter = UseCompiler || CountCompiledCalls; |
1121 bool inc_counter = UseCompiler || CountCompiledCalls || LogTouchedMethods; |
1122 address entry = __ pc(); |
1122 address entry = __ pc(); |
1123 // Generate the code to allocate the interpreter stack frame. |
1123 // Generate the code to allocate the interpreter stack frame. |
1124 Register Rsize_of_parameters = R4_ARG2, // Written by generate_fixed_frame. |
1124 Register Rsize_of_parameters = R4_ARG2, // Written by generate_fixed_frame. |
1125 Rsize_of_locals = R5_ARG3; // Written by generate_fixed_frame. |
1125 Rsize_of_locals = R5_ARG3; // Written by generate_fixed_frame. |
1126 |
1126 |