From 1349c00b782eca3ea841bfa388301cb6fc908cc7 Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Sun, 18 Oct 2020 20:39:56 +0200 Subject: Namespace Asm --- asm/intel64/jmp.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'asm/intel64/jmp.cpp') 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(jumpOp.name), [&](AsmArgs& args) -> std::shared_ptr{ + result &= registerOp(mangleName(jumpOp.name), [&](Asm::Args& args) -> std::shared_ptr{ return std::make_shared(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(args[0]).name(); + label = std::any_cast(args[0]).name(); if (!jmp32.empty()) { // set machine_code machine_code = jmp32 + OP_T(size_t(4), uint8_t(0)); -- cgit v1.2.3