Mercurial > hg > truffle
comparison src/share/vm/runtime/javaCalls.hpp @ 4993:897b7d18bebc
added RiCompiledMethod.execute and the required VM infrastructure
author | Lukas Stadler <lukas.stadler@jku.at> |
---|---|
date | Tue, 28 Feb 2012 18:00:35 +0100 |
parents | 04b9a2566eec |
children | 120820e30baa |
comparison
equal
deleted
inserted
replaced
4992:f86ddbd42a7b | 4993:897b7d18bebc |
---|---|
188 // All calls to Java have to go via JavaCalls. Sets up the stack frame | 188 // All calls to Java have to go via JavaCalls. Sets up the stack frame |
189 // and makes sure that the last_Java_frame pointers are chained correctly. | 189 // and makes sure that the last_Java_frame pointers are chained correctly. |
190 // | 190 // |
191 | 191 |
192 class JavaCalls: AllStatic { | 192 class JavaCalls: AllStatic { |
193 static void call_helper(JavaValue* result, methodHandle* method, JavaCallArguments* args, TRAPS); | 193 static void call_helper(JavaValue* result, methodHandle* method, nmethod* nm, JavaCallArguments* args, TRAPS); |
194 public: | 194 public: |
195 // Optimized Constuctor call | 195 // Optimized Constuctor call |
196 static void call_default_constructor(JavaThread* thread, methodHandle method, Handle receiver, TRAPS); | 196 static void call_default_constructor(JavaThread* thread, methodHandle method, Handle receiver, TRAPS); |
197 | 197 |
198 // call_special | 198 // call_special |
228 static void call_static(JavaValue* result, KlassHandle klass, Symbol* name, Symbol* signature, Handle arg1, TRAPS); | 228 static void call_static(JavaValue* result, KlassHandle klass, Symbol* name, Symbol* signature, Handle arg1, TRAPS); |
229 static void call_static(JavaValue* result, KlassHandle klass, Symbol* name, Symbol* signature, Handle arg1, Handle arg2, TRAPS); | 229 static void call_static(JavaValue* result, KlassHandle klass, Symbol* name, Symbol* signature, Handle arg1, Handle arg2, TRAPS); |
230 | 230 |
231 // Low-level interface | 231 // Low-level interface |
232 static void call(JavaValue* result, methodHandle method, JavaCallArguments* args, TRAPS); | 232 static void call(JavaValue* result, methodHandle method, JavaCallArguments* args, TRAPS); |
233 static void call(JavaValue* result, methodHandle method, nmethod* nm, JavaCallArguments* args, TRAPS); | |
233 }; | 234 }; |
234 | 235 |
235 #endif // SHARE_VM_RUNTIME_JAVACALLS_HPP | 236 #endif // SHARE_VM_RUNTIME_JAVACALLS_HPP |