| Index: src/IceSwitchLowering.h
|
| diff --git a/src/IceSwitchLowering.h b/src/IceSwitchLowering.h
|
| index 34c9373c6d80060e2ee949feffbf55c1cb923504..57c7d3cbe08faae9181cb3e6a0f415873bb717cc 100644
|
| --- a/src/IceSwitchLowering.h
|
| +++ b/src/IceSwitchLowering.h
|
| @@ -79,7 +79,6 @@ private:
|
| /// ELF section once the offsets from the start of the function are known.
|
| class JumpTableData {
|
| JumpTableData() = delete;
|
| - JumpTableData(const JumpTableData &) = delete;
|
| JumpTableData &operator=(const JumpTableData &) = delete;
|
|
|
| public:
|
| @@ -87,7 +86,9 @@ public:
|
| : FuncName(FuncName), Id(Id) {
|
| TargetOffsets.reserve(NumTargets);
|
| }
|
| + JumpTableData(const JumpTableData &) = default;
|
| JumpTableData(JumpTableData &&) = default;
|
| + JumpTableData &operator=(JumpTableData &&) = default;
|
|
|
| void pushTarget(intptr_t Offset) { TargetOffsets.emplace_back(Offset); }
|
|
|
| @@ -98,8 +99,8 @@ public:
|
| }
|
|
|
| private:
|
| - const IceString FuncName;
|
| - const SizeT Id;
|
| + IceString FuncName;
|
| + SizeT Id;
|
| std::vector<intptr_t> TargetOffsets;
|
| };
|
|
|
|
|