Index: src/IceAssemblerX86Base.h |
diff --git a/src/IceAssemblerX86Base.h b/src/IceAssemblerX86Base.h |
index 10871f45f6932f1b8dd3c362a1b9aba7caf46e3d..ca65c0f7ed8648e7c5c9a77ca38d3170e75d6710 100644 |
--- a/src/IceAssemblerX86Base.h |
+++ b/src/IceAssemblerX86Base.h |
@@ -73,11 +73,7 @@ public: |
public: |
explicit Immediate(int32_t value) : value_(value) {} |
- Immediate(RelocOffsetT offset, AssemblerFixup *fixup) |
- : value_(offset), fixup_(fixup) { |
- // Use the Offset in the "value" for now. If we decide to process fixups, |
- // we'll need to patch that offset with the true value. |
- } |
+ explicit Immediate(AssemblerFixup *fixup) : fixup_(fixup) {} |
int32_t value() const { return value_; } |
AssemblerFixup *fixup() const { return fixup_; } |
@@ -95,7 +91,7 @@ public: |
} |
private: |
- const int32_t value_; |
+ const int32_t value_ = 0; |
AssemblerFixup *fixup_ = nullptr; |
}; |