diff 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
line wrap: on
line diff
--- a/src/cpu/x86/vm/codeInstaller_x86.hpp	Mon Jun 10 01:16:33 2013 +0200
+++ b/src/cpu/x86/vm/codeInstaller_x86.hpp	Mon Jun 10 01:37:46 2013 +0200
@@ -52,6 +52,7 @@
     return (pc_offset + ((NativeCallReg *) inst)->next_instruction_offset());
   } else {
     fatal("unsupported type of instruction for call site");
+    return 0;
   }
 }