diff options
Diffstat (limited to 'asm/intel64/jmp.cpp')
-rw-r--r-- | asm/intel64/jmp.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/asm/intel64/jmp.cpp b/asm/intel64/jmp.cpp index 3899cac..8542127 100644 --- a/asm/intel64/jmp.cpp +++ b/asm/intel64/jmp.cpp @@ -61,7 +61,7 @@ namespace { bool registerOps() { bool result{true}; for (const auto& jumpOp: jumpOps) { - result &= registerOp(mangleName<AsmArgs::Label>(jumpOp.name), [&](AsmArgs& args) -> std::shared_ptr<Op>{ + result &= registerOp(mangleName<Asm::Args::Label>(jumpOp.name), [&](Asm::Args& args) -> std::shared_ptr<Op>{ return std::make_shared<Op_jmp>(jumpOp.name, args, jumpOp.jmp8, jumpOp.jmp32); }); } @@ -73,9 +73,9 @@ namespace { }; } -Op_jmp::Op_jmp(const std::string& name, AsmArgs& args, const OP_T& jmp8, const OP_T& jmp32) +Op_jmp::Op_jmp(const std::string& name, Asm::Args& args, const OP_T& jmp8, const OP_T& jmp32) { - label = std::any_cast<AsmArgs::Label>(args[0]).name(); + label = std::any_cast<Asm::Args::Label>(args[0]).name(); if (!jmp32.empty()) { // set machine_code machine_code = jmp32 + OP_T(size_t(4), uint8_t(0)); |