Mercurial > hg > graal-compiler
comparison graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/nodes/CurrentThread.java @ 5540:a891c53a295b
Renaming RiKind => Kind.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Fri, 08 Jun 2012 23:47:42 +0200 |
parents | 426c605c9d3c |
children | b4c406861c33 |
comparison
equal
deleted
inserted
replaced
5539:bc647d8b0080 | 5540:a891c53a295b |
---|---|
38 this.threadObjectOffset = threadObjectOffset; | 38 this.threadObjectOffset = threadObjectOffset; |
39 } | 39 } |
40 | 40 |
41 @Override | 41 @Override |
42 public void generate(LIRGeneratorTool generator) { | 42 public void generate(LIRGeneratorTool generator) { |
43 generator.setResult(this, generator.emitLoad(new CiAddress(RiKind.Object, AMD64.r15.asValue(generator.target().wordKind), threadObjectOffset), false)); | 43 generator.setResult(this, generator.emitLoad(new CiAddress(Kind.Object, AMD64.r15.asValue(generator.target().wordKind), threadObjectOffset), false)); |
44 } | 44 } |
45 | 45 |
46 @SuppressWarnings("unused") | 46 @SuppressWarnings("unused") |
47 @NodeIntrinsic | 47 @NodeIntrinsic |
48 public static Object get(int threadObjectOffset) { | 48 public static Object get(int threadObjectOffset) { |