| Index: src/ppc/macro-assembler-ppc.cc
|
| diff --git a/src/ppc/macro-assembler-ppc.cc b/src/ppc/macro-assembler-ppc.cc
|
| index f9a662290df2261f6122db7e3eb7b711bb87313c..9ebb6bd865f422c9067ffade43eebfa38e41bf62 100644
|
| --- a/src/ppc/macro-assembler-ppc.cc
|
| +++ b/src/ppc/macro-assembler-ppc.cc
|
| @@ -127,7 +127,7 @@ void MacroAssembler::Call(Address target, RelocInfo::Mode rmode,
|
| #endif
|
| // This can likely be optimized to make use of bc() with 24bit relative
|
| //
|
| - // RecordRelocInfo(x.rmode_, x.imm_);
|
| + // RecordRelocInfo(x.rmode_, x.immediate);
|
| // bc( BA, .... offset, LKset);
|
| //
|
|
|
| @@ -3617,7 +3617,8 @@ void MacroAssembler::And(Register ra, Register rs, const Operand& rb,
|
| if (rb.is_reg()) {
|
| and_(ra, rs, rb.rm(), rc);
|
| } else {
|
| - if (is_uint16(rb.imm_) && RelocInfo::IsNone(rb.rmode_) && rc == SetRC) {
|
| + if (is_uint16(rb.immediate()) && RelocInfo::IsNone(rb.rmode_) &&
|
| + rc == SetRC) {
|
| andi(ra, rs, rb);
|
| } else {
|
| // mov handles the relocation.
|
| @@ -3633,7 +3634,8 @@ void MacroAssembler::Or(Register ra, Register rs, const Operand& rb, RCBit rc) {
|
| if (rb.is_reg()) {
|
| orx(ra, rs, rb.rm(), rc);
|
| } else {
|
| - if (is_uint16(rb.imm_) && RelocInfo::IsNone(rb.rmode_) && rc == LeaveRC) {
|
| + if (is_uint16(rb.immediate()) && RelocInfo::IsNone(rb.rmode_) &&
|
| + rc == LeaveRC) {
|
| ori(ra, rs, rb);
|
| } else {
|
| // mov handles the relocation.
|
| @@ -3650,7 +3652,8 @@ void MacroAssembler::Xor(Register ra, Register rs, const Operand& rb,
|
| if (rb.is_reg()) {
|
| xor_(ra, rs, rb.rm(), rc);
|
| } else {
|
| - if (is_uint16(rb.imm_) && RelocInfo::IsNone(rb.rmode_) && rc == LeaveRC) {
|
| + if (is_uint16(rb.immediate()) && RelocInfo::IsNone(rb.rmode_) &&
|
| + rc == LeaveRC) {
|
| xori(ra, rs, rb);
|
| } else {
|
| // mov handles the relocation.
|
|
|