Mercurial > hg > graal-compiler
diff src/share/vm/c1/c1_LIR.hpp @ 1572:87fc6aca31ab
6955349: C1: Make G1 barriers work with x64
Summary: This fixes G1 barriers in c1 on x64.
Reviewed-by: never
author | iveresov |
---|---|
date | Thu, 27 May 2010 22:01:55 -0700 |
parents | 61b2245abf36 |
children | e9ff18c4ace7 |
line wrap: on
line diff
--- a/src/share/vm/c1/c1_LIR.hpp Thu May 27 18:01:56 2010 -0700 +++ b/src/share/vm/c1/c1_LIR.hpp Thu May 27 22:01:55 2010 -0700 @@ -505,15 +505,22 @@ , _type(type) , _disp(0) { verify(); } - LIR_Address(LIR_Opr base, int disp, BasicType type): + LIR_Address(LIR_Opr base, intx disp, BasicType type): _base(base) , _index(LIR_OprDesc::illegalOpr()) , _scale(times_1) , _type(type) , _disp(disp) { verify(); } + LIR_Address(LIR_Opr base, BasicType type): + _base(base) + , _index(LIR_OprDesc::illegalOpr()) + , _scale(times_1) + , _type(type) + , _disp(0) { verify(); } + #ifdef X86 - LIR_Address(LIR_Opr base, LIR_Opr index, Scale scale, int disp, BasicType type): + LIR_Address(LIR_Opr base, LIR_Opr index, Scale scale, intx disp, BasicType type): _base(base) , _index(index) , _scale(scale)