comparison src/share/vm/c1x/c1x_TargetMethod.cpp @ 1435:20a3896518ac

Initial adjustments to make C1X4HotSpot compile and run with latest Maxine version.
author Thomas Wuerthinger <wuerthinger@ssw.jku.at>
date Fri, 22 Oct 2010 17:31:38 +0200
parents 72cfb36c6bb2
children 9c96c873c42b
comparison
equal deleted inserted replaced
1434:72cfb36c6bb2 1435:20a3896518ac
29 // It looks up the name and signature symbols without creating new ones, all the symbols of these classes need to be already loaded. 29 // It looks up the name and signature symbols without creating new ones, all the symbols of these classes need to be already loaded.
30 30
31 static void compute_offset(int &dest_offset, klassOop klass_oop, const char* name, const char* signature, bool static_field) { 31 static void compute_offset(int &dest_offset, klassOop klass_oop, const char* name, const char* signature, bool static_field) {
32 symbolOop name_symbol = SymbolTable::probe(name, strlen(name)); 32 symbolOop name_symbol = SymbolTable::probe(name, strlen(name));
33 symbolOop signature_symbol = SymbolTable::probe(signature, strlen(signature)); 33 symbolOop signature_symbol = SymbolTable::probe(signature, strlen(signature));
34 #ifdef DEBUG
35 if (name_symbol == NULL) {
36 tty->print_cr("symbol with name %s was not found in symbol table (klass=%s)", name, klass_oop->klass_part()->name()->as_C_string());
37 }
38 #endif
34 assert(name_symbol != NULL, "symbol not found - class layout changed?"); 39 assert(name_symbol != NULL, "symbol not found - class layout changed?");
35 assert(signature_symbol != NULL, "symbol not found - class layout changed?"); 40 assert(signature_symbol != NULL, "symbol not found - class layout changed?");
36 41
37 instanceKlass* ik = instanceKlass::cast(klass_oop); 42 instanceKlass* ik = instanceKlass::cast(klass_oop);
38 fieldDescriptor fd; 43 fieldDescriptor fd;