summaryrefslogtreecommitdiffhomepage
path: root/asm/intel64/jmp.cpp
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2020-10-18 20:39:56 +0200
committerRoland Reichwein <mail@reichwein.it>2020-10-18 20:39:56 +0200
commit1349c00b782eca3ea841bfa388301cb6fc908cc7 (patch)
tree0d1501368f8df3ffe39ca2e97157a7549b4cf7a5 /asm/intel64/jmp.cpp
parent0cb5824977dbff51fa7b77c20279b6bd4cb49d78 (diff)
Namespace Asm
Diffstat (limited to 'asm/intel64/jmp.cpp')
-rw-r--r--asm/intel64/jmp.cpp6
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));