Revert "basic_block: Mark move constructor and assignment as noexcept"
This reverts commit 4f12e86ebb
.
Big fan of MSVC preventing standard behavior.
This commit is contained in:
parent
889635d17d
commit
0e1112b7df
2 changed files with 4 additions and 4 deletions
|
@ -27,9 +27,9 @@ Block::Block(const LocationDescriptor& location)
|
||||||
|
|
||||||
Block::~Block() = default;
|
Block::~Block() = default;
|
||||||
|
|
||||||
Block::Block(Block&&) noexcept = default;
|
Block::Block(Block&&) = default;
|
||||||
|
|
||||||
Block& Block::operator=(Block&&) noexcept = default;
|
Block& Block::operator=(Block&&) = default;
|
||||||
|
|
||||||
void Block::AppendNewInst(Opcode opcode, std::initializer_list<IR::Value> args) {
|
void Block::AppendNewInst(Opcode opcode, std::initializer_list<IR::Value> args) {
|
||||||
PrependNewInst(end(), opcode, args);
|
PrependNewInst(end(), opcode, args);
|
||||||
|
|
|
@ -47,8 +47,8 @@ public:
|
||||||
Block(const Block&) = delete;
|
Block(const Block&) = delete;
|
||||||
Block& operator=(const Block&) = delete;
|
Block& operator=(const Block&) = delete;
|
||||||
|
|
||||||
Block(Block&&) noexcept;
|
Block(Block&&);
|
||||||
Block& operator=(Block&&) noexcept;
|
Block& operator=(Block&&);
|
||||||
|
|
||||||
bool empty() const { return instructions.empty(); }
|
bool empty() const { return instructions.empty(); }
|
||||||
size_type size() const { return instructions.size(); }
|
size_type size() const { return instructions.size(); }
|
||||||
|
|
Loading…
Reference in a new issue