comparison src/share/vm/graal/graalCodeInstaller.cpp @ 11827:ff1d8605f354

graal code installer: minor style cleanup
author Bernhard Urban <bernhard.urban@jku.at>
date Mon, 30 Sep 2013 11:36:52 +0200
parents ce0b00597980
children 2e76d94f8383
comparison
equal deleted inserted replaced
11826:2d3d3d36ab3c 11827:ff1d8605f354
725 hotspot_method = target; 725 hotspot_method = target;
726 } 726 }
727 727
728 oop debug_info = CompilationResult_Call::debugInfo(site); 728 oop debug_info = CompilationResult_Call::debugInfo(site);
729 729
730 assert((hotspot_method ? 1 : 0) + (foreign_call ? 1 : 0) == 1, "Call site needs exactly one type"); 730 assert(!!hotspot_method ^ !!foreign_call, "Call site needs exactly one type");
731 731
732 NativeInstruction* inst = nativeInstruction_at(_instructions->start() + pc_offset); 732 NativeInstruction* inst = nativeInstruction_at(_instructions->start() + pc_offset);
733 jint next_pc_offset = CodeInstaller::pd_next_offset(inst, pc_offset, hotspot_method); 733 jint next_pc_offset = CodeInstaller::pd_next_offset(inst, pc_offset, hotspot_method);
734 734
735 if (debug_info != NULL) { 735 if (debug_info != NULL) {