Mercurial > hg > graal-compiler
comparison graal/com.oracle.graal.hotspot.amd64/src/com/oracle/graal/hotspot/amd64/AMD64HotSpotCRuntimeCallPrologueOp.java @ 19529:8fc336a04d77
Create TYPE fields for LIRInstruction and CompositeValue. Renaming NodeClass#get to NodeClass#create.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Fri, 20 Feb 2015 22:22:55 +0100 |
parents | 1a66453f73db |
children | 48c1ebd24120 |
comparison
equal
deleted
inserted
replaced
19528:35481bcb5882 | 19529:8fc336a04d77 |
---|---|
30 import com.oracle.graal.lir.amd64.*; | 30 import com.oracle.graal.lir.amd64.*; |
31 import com.oracle.graal.lir.asm.*; | 31 import com.oracle.graal.lir.asm.*; |
32 | 32 |
33 @Opcode | 33 @Opcode |
34 final class AMD64HotSpotCRuntimeCallPrologueOp extends AMD64LIRInstruction { | 34 final class AMD64HotSpotCRuntimeCallPrologueOp extends AMD64LIRInstruction { |
35 public static final LIRInstructionClass<AMD64HotSpotCRuntimeCallPrologueOp> TYPE = LIRInstructionClass.create(AMD64HotSpotCRuntimeCallPrologueOp.class); | |
35 | 36 |
36 private final int threadLastJavaSpOffset; | 37 private final int threadLastJavaSpOffset; |
37 private final Register thread; | 38 private final Register thread; |
38 | 39 |
39 public AMD64HotSpotCRuntimeCallPrologueOp(int threadLastJavaSpOffset, Register thread) { | 40 public AMD64HotSpotCRuntimeCallPrologueOp(int threadLastJavaSpOffset, Register thread) { |
41 super(TYPE); | |
40 this.threadLastJavaSpOffset = threadLastJavaSpOffset; | 42 this.threadLastJavaSpOffset = threadLastJavaSpOffset; |
41 this.thread = thread; | 43 this.thread = thread; |
42 } | 44 } |
43 | 45 |
44 @Override | 46 @Override |