| Index: src/IceFixups.h
|
| diff --git a/src/IceFixups.h b/src/IceFixups.h
|
| index 3b2b524d162cca70db6fac5c4734d65d04435bf4..9ec72c36bd331dddf540120e8f427f7465189c03 100644
|
| --- a/src/IceFixups.h
|
| +++ b/src/IceFixups.h
|
| @@ -28,7 +28,7 @@ struct AssemblerFixup {
|
| AssemblerFixup &operator=(const AssemblerFixup &) = delete;
|
|
|
| public:
|
| - AssemblerFixup() : position_(0), kind_(0), value_(nullptr) {}
|
| + AssemblerFixup() = default;
|
| AssemblerFixup(const AssemblerFixup &) = default;
|
| intptr_t position() const { return position_; }
|
| void set_position(intptr_t Position) { position_ = Position; }
|
| @@ -47,9 +47,9 @@ public:
|
| void emit(GlobalContext *Ctx, RelocOffsetT BaseOffset) const;
|
|
|
| private:
|
| - intptr_t position_;
|
| - FixupKind kind_;
|
| - const Constant *value_;
|
| + intptr_t position_ = 0;
|
| + FixupKind kind_ = 0;
|
| + const Constant *value_ = nullptr;
|
| };
|
|
|
| typedef std::vector<AssemblerFixup> FixupList;
|
|
|