equal
deleted
inserted
replaced
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); |