< prev index next >

src/hotspot/cpu/sparc/interpreterRT_sparc.cpp

Print this page




  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  *
  23  */
  24 
  25 #include "precompiled.hpp"
  26 #include "asm/macroAssembler.inline.hpp"
  27 #include "interpreter/interpreter.hpp"
  28 #include "interpreter/interpreterRuntime.hpp"
  29 #include "memory/allocation.inline.hpp"
  30 #include "memory/universe.hpp"
  31 #include "oops/method.hpp"
  32 #include "oops/oop.inline.hpp"
  33 #include "runtime/handles.inline.hpp"
  34 #include "runtime/icache.hpp"
  35 #include "runtime/interfaceSupport.hpp"
  36 #include "runtime/signature.hpp"
  37 
  38 
  39 #define __ _masm->
  40 
  41 
  42 // Implementation of SignatureHandlerGenerator
  43 
  44 void InterpreterRuntime::SignatureHandlerGenerator::pass_word(int size_of_arg, int offset_in_arg) {
  45   Argument  jni_arg(jni_offset() + offset_in_arg, false);
  46   Register     Rtmp = O0;
  47   __ ld(Llocals, Interpreter::local_offset_in_bytes(offset()), Rtmp);
  48 
  49   __ store_argument(Rtmp, jni_arg);
  50 }
  51 
  52 void InterpreterRuntime::SignatureHandlerGenerator::pass_long() {
  53   Argument  jni_arg(jni_offset(), false);
  54   Register  Rtmp = O0;
  55 




  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  *
  23  */
  24 
  25 #include "precompiled.hpp"
  26 #include "asm/macroAssembler.inline.hpp"
  27 #include "interpreter/interpreter.hpp"
  28 #include "interpreter/interpreterRuntime.hpp"
  29 #include "memory/allocation.inline.hpp"
  30 #include "memory/universe.hpp"
  31 #include "oops/method.hpp"
  32 #include "oops/oop.inline.hpp"
  33 #include "runtime/handles.inline.hpp"
  34 #include "runtime/icache.hpp"
  35 #include "runtime/interfaceSupport.inline.hpp"
  36 #include "runtime/signature.hpp"
  37 
  38 
  39 #define __ _masm->
  40 
  41 
  42 // Implementation of SignatureHandlerGenerator
  43 
  44 void InterpreterRuntime::SignatureHandlerGenerator::pass_word(int size_of_arg, int offset_in_arg) {
  45   Argument  jni_arg(jni_offset() + offset_in_arg, false);
  46   Register     Rtmp = O0;
  47   __ ld(Llocals, Interpreter::local_offset_in_bytes(offset()), Rtmp);
  48 
  49   __ store_argument(Rtmp, jni_arg);
  50 }
  51 
  52 void InterpreterRuntime::SignatureHandlerGenerator::pass_long() {
  53   Argument  jni_arg(jni_offset(), false);
  54   Register  Rtmp = O0;
  55 


< prev index next >