src/hotspot/cpu/sparc/interpreterRT_sparc.cpp
changeset 49480 d7df2dd501ce
parent 49449 ef5d5d343e2a
child 54523 5df03f58d25b
equal deleted inserted replaced
49479:5865398439d4 49480:d7df2dd501ce
    22  *
    22  *
    23  */
    23  */
    24 
    24 
    25 #include "precompiled.hpp"
    25 #include "precompiled.hpp"
    26 #include "asm/macroAssembler.inline.hpp"
    26 #include "asm/macroAssembler.inline.hpp"
       
    27 #include "interpreter/interp_masm.hpp"
    27 #include "interpreter/interpreter.hpp"
    28 #include "interpreter/interpreter.hpp"
    28 #include "interpreter/interpreterRuntime.hpp"
    29 #include "interpreter/interpreterRuntime.hpp"
    29 #include "memory/allocation.inline.hpp"
    30 #include "memory/allocation.inline.hpp"
    30 #include "memory/universe.hpp"
    31 #include "memory/universe.hpp"
    31 #include "oops/method.hpp"
    32 #include "oops/method.hpp"
    38 
    39 
    39 #define __ _masm->
    40 #define __ _masm->
    40 
    41 
    41 
    42 
    42 // Implementation of SignatureHandlerGenerator
    43 // Implementation of SignatureHandlerGenerator
       
    44 InterpreterRuntime::SignatureHandlerGenerator::SignatureHandlerGenerator(
       
    45     const methodHandle& method, CodeBuffer* buffer) : NativeSignatureIterator(method) {
       
    46   _masm = new MacroAssembler(buffer);
       
    47 }
    43 
    48 
    44 void InterpreterRuntime::SignatureHandlerGenerator::pass_word(int size_of_arg, int offset_in_arg) {
    49 void InterpreterRuntime::SignatureHandlerGenerator::pass_word(int size_of_arg, int offset_in_arg) {
    45   Argument  jni_arg(jni_offset() + offset_in_arg, false);
    50   Argument  jni_arg(jni_offset() + offset_in_arg, false);
    46   Register     Rtmp = O0;
    51   Register     Rtmp = O0;
    47   __ ld(Llocals, Interpreter::local_offset_in_bytes(offset()), Rtmp);
    52   __ ld(Llocals, Interpreter::local_offset_in_bytes(offset()), Rtmp);