equal
deleted
inserted
replaced
120 } |
120 } |
121 if (_library != NULL) { |
121 if (_library != NULL) { |
122 _decode_instructions_virtual = CAST_TO_FN_PTR(Disassembler::decode_func_virtual, |
122 _decode_instructions_virtual = CAST_TO_FN_PTR(Disassembler::decode_func_virtual, |
123 os::dll_lookup(_library, decode_instructions_virtual_name)); |
123 os::dll_lookup(_library, decode_instructions_virtual_name)); |
124 } |
124 } |
125 if (_decode_instructions_virtual == NULL) { |
125 if (_decode_instructions_virtual == NULL && _library != NULL) { |
126 // could not spot in new version, try old version |
126 // could not spot in new version, try old version |
127 _decode_instructions = CAST_TO_FN_PTR(Disassembler::decode_func, |
127 _decode_instructions = CAST_TO_FN_PTR(Disassembler::decode_func, |
128 os::dll_lookup(_library, decode_instructions_name)); |
128 os::dll_lookup(_library, decode_instructions_name)); |
129 use_new_version = false; |
129 use_new_version = false; |
130 } else { |
130 } else { |