mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 14:24:46 +02:00
8207049: Minor improvements of compiler code
Reviewed-by: kvn, mdoerr
This commit is contained in:
parent
f508eb1370
commit
2e682fa3cd
37 changed files with 158 additions and 115 deletions
|
@ -236,6 +236,8 @@ int AOTOopRecorder::find_index(Metadata* h) {
|
|||
|
||||
JVMCIKlassHandle klass(THREAD);
|
||||
oop result = NULL;
|
||||
guarantee(h != NULL,
|
||||
"If DebugInformationRecorder::describe_scope passes NULL oldCount == newCount must hold.");
|
||||
if (h->is_klass()) {
|
||||
klass = (Klass*) h;
|
||||
result = CompilerToVM::get_jvmci_type(klass, CATCH);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue