Index: src/ppc/assembler-ppc-inl.h |
diff --git a/src/ppc/assembler-ppc-inl.h b/src/ppc/assembler-ppc-inl.h |
index 8adb0b6718e37ef20ebf1947fd855ec02341c910..c187c2517d77c6e68c4565ba57116afab252510d 100644 |
--- a/src/ppc/assembler-ppc-inl.h |
+++ b/src/ppc/assembler-ppc-inl.h |
@@ -367,19 +367,19 @@ void RelocInfo::Visit(Heap* heap) { |
Operand::Operand(intptr_t immediate, RelocInfo::Mode rmode) { |
rm_ = no_reg; |
- imm_ = immediate; |
+ value_.immediate = immediate; |
rmode_ = rmode; |
} |
Operand::Operand(const ExternalReference& f) { |
rm_ = no_reg; |
- imm_ = reinterpret_cast<intptr_t>(f.address()); |
+ value_.immediate = reinterpret_cast<intptr_t>(f.address()); |
rmode_ = RelocInfo::EXTERNAL_REFERENCE; |
} |
Operand::Operand(Smi* value) { |
rm_ = no_reg; |
- imm_ = reinterpret_cast<intptr_t>(value); |
+ value_.immediate = reinterpret_cast<intptr_t>(value); |
rmode_ = kRelocInfo_NONEPTR; |
} |