hotspot/src/cpu/sparc/vm/templateInterpreter_sparc.cpp
changeset 31790 4a08476437e8
parent 28650 772aaab2582f
child 33070 54f3f085b165
equal deleted inserted replaced
31788:04af91b7fadd 31790:4a08476437e8
     1 /*
     1 /*
     2  * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
   799   address entry = __ pc();
   799   address entry = __ pc();
   800 
   800 
   801   // the following temporary registers are used during frame creation
   801   // the following temporary registers are used during frame creation
   802   const Register Gtmp1 = G3_scratch ;
   802   const Register Gtmp1 = G3_scratch ;
   803   const Register Gtmp2 = G1_scratch;
   803   const Register Gtmp2 = G1_scratch;
   804   bool inc_counter  = UseCompiler || CountCompiledCalls;
   804   bool inc_counter  = UseCompiler || CountCompiledCalls || LogTouchedMethods;
   805 
   805 
   806   // make sure registers are different!
   806   // make sure registers are different!
   807   assert_different_registers(G2_thread, G5_method, Gargs, Gtmp1, Gtmp2);
   807   assert_different_registers(G2_thread, G5_method, Gargs, Gtmp1, Gtmp2);
   808 
   808 
   809   const Address Laccess_flags(Lmethod, Method::access_flags_offset());
   809   const Address Laccess_flags(Lmethod, Method::access_flags_offset());
  1223 
  1223 
  1224 // Generic method entry to (asm) interpreter
  1224 // Generic method entry to (asm) interpreter
  1225 address InterpreterGenerator::generate_normal_entry(bool synchronized) {
  1225 address InterpreterGenerator::generate_normal_entry(bool synchronized) {
  1226   address entry = __ pc();
  1226   address entry = __ pc();
  1227 
  1227 
  1228   bool inc_counter  = UseCompiler || CountCompiledCalls;
  1228   bool inc_counter  = UseCompiler || CountCompiledCalls || LogTouchedMethods;
  1229 
  1229 
  1230   // the following temporary registers are used during frame creation
  1230   // the following temporary registers are used during frame creation
  1231   const Register Gtmp1 = G3_scratch ;
  1231   const Register Gtmp1 = G3_scratch ;
  1232   const Register Gtmp2 = G1_scratch;
  1232   const Register Gtmp2 = G1_scratch;
  1233 
  1233