diff options
author | MITSUNARI Shigeo <[email protected]> | 2011-06-16 06:59:37 +0900 |
---|---|---|
committer | MITSUNARI Shigeo <[email protected]> | 2011-06-16 06:59:37 +0900 |
commit | 8c45c01071356faad63b25cf265c36cdcf72afdf (patch) | |
tree | 8fc964f5815529f0eefd5de0caf3a9e7b9839c8a /sample/toyvm.cpp | |
parent | 0e963028222215931169b48aab66dbda160ce10f (diff) | |
download | xbyak-8c45c01071356faad63b25cf265c36cdcf72afdf.tar.gz xbyak-8c45c01071356faad63b25cf265c36cdcf72afdf.zip |
fix __GNUC__PREREQ macro for Mac gcc
Diffstat (limited to 'sample/toyvm.cpp')
-rw-r--r-- | sample/toyvm.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sample/toyvm.cpp b/sample/toyvm.cpp index 238c637..a3d44c7 100644 --- a/sample/toyvm.cpp +++ b/sample/toyvm.cpp @@ -140,8 +140,8 @@ public: const size_t memTblNum = NUM_OF_ARRAY(memTbl); for (size_t i = 0; i < memTblNum; i++) xor(memTbl[i], memTbl[i]); - xor(reg[0], reg[0]); - xor(reg[1], reg[1]); + xor(esi, esi); + xor(edi, edi); mov(mem, (size_t)mem_); const size_t end = code_.size(); uint32 pc = 0; |