Merge pull request #1961 from zoddicus/fixChromiumRoll

Remove std::move that is breaking chromium roll
This commit is contained in:
John Kessenich
2019-11-05 01:05:10 -07:00
committed by GitHub

View File

@@ -252,7 +252,7 @@ public:
assert(header != nullptr); assert(header != nullptr);
Instruction* branch = new Instruction(OpBranch); Instruction* branch = new Instruction(OpBranch);
branch->addIdOperand(header->getId()); branch->addIdOperand(header->getId());
addInstruction(std::move(std::unique_ptr<Instruction>(branch))); addInstruction(std::unique_ptr<Instruction>(branch));
successors.push_back(header); successors.push_back(header);
} }