Mercurial > hg > truffle
diff src/share/vm/graal/graalCodeInstaller.cpp @ 15582:063ec2920d21
made Graal runtime initialization in hosted mode lazy
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Fri, 09 May 2014 18:46:41 +0200 |
parents | a20be10ad437 |
children | 22f56c3eadb7 |
line wrap: on
line diff
--- a/src/share/vm/graal/graalCodeInstaller.cpp Fri May 09 17:59:15 2014 +0200 +++ b/src/share/vm/graal/graalCodeInstaller.cpp Fri May 09 18:46:41 2014 +0200 @@ -202,7 +202,7 @@ return new LocationValue(Location::new_stk_loc(Location::invalid, 0)); } - BasicType type = GraalCompiler::kindToBasicType(Kind::typeChar(Value::kind(value))); + BasicType type = GraalRuntime::kindToBasicType(Kind::typeChar(Value::kind(value))); Location::Type locationType = Location::normal; if (type == T_OBJECT || type == T_ARRAY) locationType = Location::oop; @@ -382,7 +382,7 @@ // constructor used to create a method GraalEnv::CodeInstallResult CodeInstaller::install(Handle& compiled_code, CodeBlob*& cb, Handle installed_code, Handle speculation_log) { - BufferBlob* buffer_blob = GraalCompiler::initialize_buffer_blob(); + BufferBlob* buffer_blob = GraalRuntime::initialize_buffer_blob(); if (buffer_blob == NULL) { return GraalEnv::cache_full; }