upd JavaMethod

This commit is contained in:
wangxiang
2023-10-25 15:21:04 +08:00
parent c91945c791
commit 82348cee01
4 changed files with 16 additions and 5 deletions

View File

@@ -51,9 +51,9 @@ public class Frame {
*/
private final Slot[] slots;
public Frame(JVMThread thread, JavaClass javaClass, JavaMethod javaMethod) {
public Frame(JVMThread thread, JavaMethod javaMethod) {
this.jvmThread = thread;
this.javaClass = javaClass;
this.javaClass = javaMethod.getJavaClass();
this.javaMethod = javaMethod;
this.code = javaMethod.getCode();
this.codeStream = new CodeStream(javaMethod.getCode());