Mercurial > hg > graal-jvmci-8
comparison src/share/vm/graal/graalCompiler.cpp @ 13262:f13f6dc290c8
don't pass HotSpotResolvedObjectType to VMToCompiler.compileMethod but instead create it in Java code
author | twisti |
---|---|
date | Sun, 08 Dec 2013 14:33:38 -0800 |
parents | 2e76d94f8383 |
children | 81055aacb98d |
comparison
equal
deleted
inserted
replaced
13261:0ffe9e4bb364 | 13262:f13f6dc290c8 |
---|---|
191 } | 191 } |
192 | 192 |
193 assert(_initialized, "must already be initialized"); | 193 assert(_initialized, "must already be initialized"); |
194 ResourceMark rm; | 194 ResourceMark rm; |
195 thread->set_is_graal_compiling(true); | 195 thread->set_is_graal_compiling(true); |
196 Handle holder = GraalCompiler::createHotSpotResolvedObjectType(method, CHECK); | 196 VMToCompiler::compileMethod(method(), entry_bci, blocking); |
197 check_pending_exception("Error while calling createHotSpotResolvedObjectType"); | |
198 VMToCompiler::compileMethod(method(), holder, entry_bci, blocking); | |
199 thread->set_is_graal_compiling(false); | 197 thread->set_is_graal_compiling(false); |
200 } | 198 } |
201 | 199 |
202 // Compilation entry point for methods | 200 // Compilation entry point for methods |
203 void GraalCompiler::compile_method(ciEnv* env, ciMethod* target, int entry_bci) { | 201 void GraalCompiler::compile_method(ciEnv* env, ciMethod* target, int entry_bci) { |