Skip to content

Commit

Permalink
[BOLT] Add missing override
Browse files Browse the repository at this point in the history
Summary: Add missing override in X86MCPlusBuilder.cpp.

(cherry picked from FBD20064222)
  • Loading branch information
Alexander Shaposhnikov authored and maksfb committed Feb 24, 2020
1 parent be43f89 commit 01b7c90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bolt/src/Target/X86/X86MCPlusBuilder.cpp
Expand Up @@ -2759,7 +2759,7 @@ class X86MCPlusBuilder : public MCPlusBuilder {
}

void createLoadImmediate(MCInst &Inst, const MCPhysReg Dest,
uint32_t Imm) const {
uint32_t Imm) const override {
Inst.setOpcode(X86::MOV64ri32);
Inst.clear();
Inst.addOperand(MCOperand::createReg(Dest));
Expand Down

0 comments on commit 01b7c90

Please sign in to comment.