Mercurial > hg > graal-jvmci-8
comparison src/cpu/x86/vm/codeInstaller_x86.hpp @ 9953:60648c97cdd0
Windows build fix: compiler warning "not all control paths return a value" in CodeInstaller::pd_next_offset.
author | Andreas Woess <andreas.woess@jku.at> |
---|---|
date | Mon, 10 Jun 2013 01:37:46 +0200 |
parents | 0f7ca53be929 |
children |
comparison
equal
deleted
inserted
replaced
9952:5d91b0b67cba | 9953:60648c97cdd0 |
---|---|
50 // the inlined vtable stub contains a "call register" instruction | 50 // the inlined vtable stub contains a "call register" instruction |
51 assert(method != NULL, "only valid for virtual calls"); | 51 assert(method != NULL, "only valid for virtual calls"); |
52 return (pc_offset + ((NativeCallReg *) inst)->next_instruction_offset()); | 52 return (pc_offset + ((NativeCallReg *) inst)->next_instruction_offset()); |
53 } else { | 53 } else { |
54 fatal("unsupported type of instruction for call site"); | 54 fatal("unsupported type of instruction for call site"); |
55 return 0; | |
55 } | 56 } |
56 } | 57 } |
57 | 58 |
58 inline void CodeInstaller::pd_site_DataPatch(oop constant, oop kind, bool inlined, | 59 inline void CodeInstaller::pd_site_DataPatch(oop constant, oop kind, bool inlined, |
59 address instruction, int alignment, char typeChar) { | 60 address instruction, int alignment, char typeChar) { |