equal
deleted
inserted
replaced
234 |
234 |
235 vmassert(index + 1 == newCount, "must be last"); |
235 vmassert(index + 1 == newCount, "must be last"); |
236 |
236 |
237 JVMCIKlassHandle klass(THREAD); |
237 JVMCIKlassHandle klass(THREAD); |
238 oop result = NULL; |
238 oop result = NULL; |
|
239 guarantee(h != NULL, |
|
240 "If DebugInformationRecorder::describe_scope passes NULL oldCount == newCount must hold."); |
239 if (h->is_klass()) { |
241 if (h->is_klass()) { |
240 klass = (Klass*) h; |
242 klass = (Klass*) h; |
241 result = CompilerToVM::get_jvmci_type(klass, CATCH); |
243 result = CompilerToVM::get_jvmci_type(klass, CATCH); |
242 } else if (h->is_method()) { |
244 } else if (h->is_method()) { |
243 Method* method = (Method*) h; |
245 Method* method = (Method*) h; |