comparison graal/com.oracle.jvmci.hotspot/src/com/oracle/jvmci/hotspot/HotSpotConstantPool.java @ 21780:3d15183f3c93

Introduce Compiler interface in jvmci. Use it from jvmci.hotspot.CompilationTask
author Gilles Duboscq <gilles.m.duboscq@oracle.com>
date Wed, 03 Jun 2015 15:47:54 +0200
parents d915361cc3a1
children
comparison
equal deleted inserted replaced
21779:20ace3139510 21780:3d15183f3c93
36 public class HotSpotConstantPool implements ConstantPool, HotSpotProxified { 36 public class HotSpotConstantPool implements ConstantPool, HotSpotProxified {
37 37
38 /** 38 /**
39 * Subset of JVM bytecode opcodes used by {@link HotSpotConstantPool}. 39 * Subset of JVM bytecode opcodes used by {@link HotSpotConstantPool}.
40 */ 40 */
41 static class Bytecodes { 41 public static class Bytecodes {
42 public static final int LDC = 18; // 0x12 42 public static final int LDC = 18; // 0x12
43 public static final int LDC_W = 19; // 0x13 43 public static final int LDC_W = 19; // 0x13
44 public static final int LDC2_W = 20; // 0x14 44 public static final int LDC2_W = 20; // 0x14
45 public static final int GETSTATIC = 178; // 0xB2 45 public static final int GETSTATIC = 178; // 0xB2
46 public static final int PUTSTATIC = 179; // 0xB3 46 public static final int PUTSTATIC = 179; // 0xB3