equal
deleted
inserted
replaced
29 #define __ _masm-> |
29 #define __ _masm-> |
30 |
30 |
31 |
31 |
32 // Implementation of SignatureHandlerGenerator |
32 // Implementation of SignatureHandlerGenerator |
33 void InterpreterRuntime::SignatureHandlerGenerator::pass_int() { |
33 void InterpreterRuntime::SignatureHandlerGenerator::pass_int() { |
|
34 move(offset(), jni_offset() + 1); |
|
35 } |
|
36 |
|
37 void InterpreterRuntime::SignatureHandlerGenerator::pass_float() { |
34 move(offset(), jni_offset() + 1); |
38 move(offset(), jni_offset() + 1); |
35 } |
39 } |
36 |
40 |
37 void InterpreterRuntime::SignatureHandlerGenerator::pass_long() { |
41 void InterpreterRuntime::SignatureHandlerGenerator::pass_long() { |
38 move(offset(), jni_offset() + 2); |
42 move(offset(), jni_offset() + 2); |
89 virtual void pass_int() { |
93 virtual void pass_int() { |
90 *_to++ = *(jint *)(_from+Interpreter::local_offset_in_bytes(0)); |
94 *_to++ = *(jint *)(_from+Interpreter::local_offset_in_bytes(0)); |
91 _from -= Interpreter::stackElementSize; |
95 _from -= Interpreter::stackElementSize; |
92 } |
96 } |
93 |
97 |
|
98 virtual void pass_float() { |
|
99 *_to++ = *(jint *)(_from+Interpreter::local_offset_in_bytes(0)); |
|
100 _from -= Interpreter::stackElementSize; |
|
101 } |
|
102 |
94 virtual void pass_long() { |
103 virtual void pass_long() { |
95 _to[0] = *(intptr_t*)(_from+Interpreter::local_offset_in_bytes(1)); |
104 _to[0] = *(intptr_t*)(_from+Interpreter::local_offset_in_bytes(1)); |
96 _to[1] = *(intptr_t*)(_from+Interpreter::local_offset_in_bytes(0)); |
105 _to[1] = *(intptr_t*)(_from+Interpreter::local_offset_in_bytes(0)); |
97 _to += 2; |
106 _to += 2; |
98 _from -= 2*Interpreter::stackElementSize; |
107 _from -= 2*Interpreter::stackElementSize; |