aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/nm_frame.cpp
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <[email protected]>2020-06-28 05:49:05 +0900
committerMITSUNARI Shigeo <[email protected]>2020-06-28 05:49:05 +0900
commit6f93fe351114b94b19c2fba18a0318c6bcb125ef (patch)
treec7ba63031d0417685c0d109b2b933b0d04d1ca9a /test/nm_frame.cpp
parent5b89c3b2176c3323d97ff0f0949e46760d07e61d (diff)
downloadxbyak-6f93fe351114b94b19c2fba18a0318c6bcb125ef.tar.gz
xbyak-6f93fe351114b94b19c2fba18a0318c6bcb125ef.zip
fix test of sizeof(Operand)
Diffstat (limited to 'test/nm_frame.cpp')
-rw-r--r--test/nm_frame.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/nm_frame.cpp b/test/nm_frame.cpp
index 5a18579..41cff42 100644
--- a/test/nm_frame.cpp
+++ b/test/nm_frame.cpp
@@ -31,7 +31,8 @@ public:
int main()
{
- CYBOZU_TEST_EQUAL(sizeof(Xbyak::Operand), 4u);
+ // the size of Operand exceeds 32 bit.
+ CYBOZU_TEST_EQUAL(sizeof(Xbyak::Operand), 8u);
Sample s;
s.gen();
ErrorSample es;