Lines Matching refs:Method
37 (method arguments) and "locals" (local variables). The "outs" (arguments
77 become the parameters to the called method. The VM guarantees that there
79 into a method.
87 We push two stack frames on when calling an interpreted or native method
91 stack might look like an uninterrupted series of interpreted method calls.
92 The second frame is for the method itself.
96 NULL method pointer.
98 When calling a native method from interpreted code, the stack setup is
99 essentially identical to calling an interpreted method. Because it's a
100 native method, though, there are never any "locals" or "outs".
104 and we want to trivially discard them when the method returns. See JNI.c
106 possible to push additional call frames on without calling a method.
135 /* saved program counter (from method in caller's frame) */
138 /* pointer to method we're *currently* executing; handy for exceptions */
139 const Method* method;
177 return SAVEAREA_FROM_FP(fp)->method == NULL;
187 * Push a native method frame directly onto the stack. Used to push the
190 bool dvmPushJNIFrame(Thread* thread, const Method* method);
195 bool dvmPushLocalFrame(Thread* thread, const Method* method);
199 * Call an interpreted method from native code. If this is being called
205 void dvmCallMethod(Thread* self, const Method* method, Object* obj,
207 void dvmCallMethodV(Thread* self, const Method* method, Object* obj,
209 void dvmCallMethodA(Thread* self, const Method* method, Object* obj,
213 * Invoke a method, using the specified arguments and return type, through
218 * "obj" should be null for a static method.
220 * "params" and "returnType" come from the Method object, so we don't have
221 * to re-generate them from the method signature. "returnType" should be
224 Object* dvmInvokeMethod(Object* invokeObj, const Method* meth,
230 * into the specified method. Returns -2 for native methods, -1 if no
233 int dvmLineNumFromPC(const Method* method, u4 relPc);
249 * Get the class of the method that called us.
257 * class loader of the method that called it.
265 * class loader of the method that called it.
270 * Allocate and fill an array of method pointers representing the current
273 bool dvmCreateStackTraceArray(const void* fp, const Method*** pArray,
279 void dvmHandleStackOverflow(Thread* self, const Method* method);