Index: src/IceFixups.h |
diff --git a/src/IceFixups.h b/src/IceFixups.h |
index b52572fbd20eafc7e65350f7e99eb15c58c38a24..bbe7d4aeee1bb9e381ab24b50563da45e51e7b9c 100644 |
--- a/src/IceFixups.h |
+++ b/src/IceFixups.h |
@@ -25,7 +25,11 @@ typedef uint32_t FixupKind; |
// Assembler fixups are positions in generated code/data that hold relocation |
// information that needs to be processed before finalizing the code/data. |
struct AssemblerFixup { |
+ AssemblerFixup &operator=(const AssemblerFixup &) = delete; |
+ |
public: |
+ AssemblerFixup() : position_(0), kind_(0), value_(nullptr) {} |
+ AssemblerFixup(const AssemblerFixup &) = default; |
intptr_t position() const { return position_; } |
void set_position(intptr_t Position) { position_ = Position; } |