Mercurial > hg > graal-compiler
diff c1x4hotspotsrc/HotSpotVM/src/com/sun/hotspot/c1x/HotSpotRuntime.java @ 1421:6223633ce7dd
changed VMExit/VMEntries to non-static, added eclipse c++ project, CIR interface changes
author | Lukas Stadler <lukas.stadler@oracle.com> |
---|---|
date | Fri, 23 Jul 2010 15:53:02 -0700 |
parents | 44efca8a02d6 |
children | 3483ec571caf |
line wrap: on
line diff
--- a/c1x4hotspotsrc/HotSpotVM/src/com/sun/hotspot/c1x/HotSpotRuntime.java Tue Jul 13 11:47:55 2010 -0700 +++ b/c1x4hotspotsrc/HotSpotVM/src/com/sun/hotspot/c1x/HotSpotRuntime.java Fri Jul 23 15:53:02 2010 -0700 @@ -18,7 +18,6 @@ package com.sun.hotspot.c1x; import java.io.ByteArrayOutputStream; -import java.io.OutputStream; import java.lang.reflect.Constructor; import java.lang.reflect.Field; import java.lang.reflect.Method; @@ -52,6 +51,10 @@ private final HotSpotVMConfig config; + public static enum Entrypoints { + UNVERIFIED, VERIFIED + } + public HotSpotRuntime(HotSpotVMConfig config) { this.config = config; } @@ -69,12 +72,6 @@ } @Override - public void codePrologue(RiMethod method, OutputStream out) { - // TODO Auto-generated method stub - - } - - @Override public String disassemble(byte[] code) { return disassemble(code, new DisassemblyPrinter(false)); } @@ -148,7 +145,7 @@ @Override public RiConstantPool getConstantPool(RiMethod method) { - return VMEntries.RiRuntime_getConstantPool(((HotSpotType) method.holder()).klassOop); + return Compiler.getVMEntries().RiRuntime_getConstantPool(((HotSpotType) method.holder()).klassOop); } @Override