comparison src/share/vm/jvmci/jvmciCodeInstaller.cpp @ 22592:5fade64c1b5f

fixed C warning
author Doug Simon <doug.simon@oracle.com>
date Tue, 22 Sep 2015 01:48:34 +0200
parents 3f6488b29c1a
children 939d5da65929
comparison
equal deleted inserted replaced
22591:0dcb75831004 22592:5fade64c1b5f
154 int index = _oop_recorder->find_index(method); 154 int index = _oop_recorder->find_index(method);
155 TRACE_jvmci_3("metadata[%d of %d] = %s", index, _oop_recorder->metadata_count(), method->name()->as_C_string()); 155 TRACE_jvmci_3("metadata[%d of %d] = %s", index, _oop_recorder->metadata_count(), method->name()->as_C_string());
156 return method; 156 return method;
157 } else { 157 } else {
158 fatal(err_msg("unexpected metadata reference for constant of type %s", obj->klass()->name()->as_C_string())); 158 fatal(err_msg("unexpected metadata reference for constant of type %s", obj->klass()->name()->as_C_string()));
159 return NULL;
159 } 160 }
160 } 161 }
161 162
162 #ifdef _LP64 163 #ifdef _LP64
163 narrowKlass CodeInstaller::record_narrow_metadata_reference(Handle& constant) { 164 narrowKlass CodeInstaller::record_narrow_metadata_reference(Handle& constant) {