Mercurial > hg > graal-compiler
diff src/cpu/x86/vm/assembler_x86.inline.hpp @ 18853:90fb04cda7d6
fixed however 32 bit inline version of assembler method
Contributed-by: Igor Ignatyev <igor.ignatyev@oracle.com>
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Tue, 13 Jan 2015 11:18:46 +0100 |
parents | cd3d6a6b95d9 |
children |
line wrap: on
line diff
--- a/src/cpu/x86/vm/assembler_x86.inline.hpp Tue Jan 13 06:12:10 2015 +0100 +++ b/src/cpu/x86/vm/assembler_x86.inline.hpp Tue Jan 13 11:18:46 2015 +0100 @@ -33,7 +33,7 @@ inline int Assembler::prefix_and_encode(int reg_enc, bool byteinst) { return reg_enc; } inline int Assembler::prefixq_and_encode(int reg_enc) { return reg_enc; } -inline int Assembler::prefix_and_encode(int dst_enc, int src_enc, bool byteinst) { return dst_enc << 3 | src_enc; } +inline int Assembler::prefix_and_encode(int dst_enc, bool dst_is_byte, int src_enc, bool src_is_byte) { return dst_enc << 3 | src_enc; } inline int Assembler::prefixq_and_encode(int dst_enc, int src_enc) { return dst_enc << 3 | src_enc; } inline void Assembler::prefix(Register reg) {}