aboutsummaryrefslogtreecommitdiffhomepage
path: root/sample/toyvm.cpp
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <[email protected]>2013-04-11 21:34:35 +0900
committerMITSUNARI Shigeo <[email protected]>2013-04-11 21:34:35 +0900
commit35bb4eac6e7e5df1463a2eb867f27c28a51807f1 (patch)
treef9b144db7926bd7035e927a72a53dbf4eecba129 /sample/toyvm.cpp
parentebea977d3b0e2caca641954d130340667cec481f (diff)
downloadxbyak-35bb4eac6e7e5df1463a2eb867f27c28a51807f1.tar.gz
xbyak-35bb4eac6e7e5df1463a2eb867f27c28a51807f1.zip
use XBYAK_NO_OP_NAMES
Diffstat (limited to 'sample/toyvm.cpp')
-rw-r--r--sample/toyvm.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/sample/toyvm.cpp b/sample/toyvm.cpp
index 72d91f4..aa2e3ad 100644
--- a/sample/toyvm.cpp
+++ b/sample/toyvm.cpp
@@ -138,10 +138,10 @@ public:
const Reg32 memTbl[] = { eax, ecx, edx };
const size_t memTblNum = NUM_OF_ARRAY(memTbl);
- for (size_t i = 0; i < memTblNum; i++) xor(memTbl[i], memTbl[i]);
+ for (size_t i = 0; i < memTblNum; i++) xor_(memTbl[i], memTbl[i]);
- xor(esi, esi);
- xor(edi, edi);
+ xor_(esi, esi);
+ xor_(edi, edi);
mov(mem, (size_t)mem_);
const size_t end = code_.size();
uint32 pc = 0;