summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJames Zern <jzern@google.com>2023-04-20 14:17:49 -0700
committerJames Zern <jzern@google.com>2023-04-20 14:18:26 -0700
commitb27cf67c30eee263d1d41a5953e63c976fd82365 (patch)
treed5f10e825ce01394b72de0134b6bb64a003588c4 /test
parenta7a9983314638a0c6ad76d149c7a67f9b3d236c3 (diff)
downloadlibvpx-b27cf67c30eee263d1d41a5953e63c976fd82365.tar
libvpx-b27cf67c30eee263d1d41a5953e63c976fd82365.tar.gz
libvpx-b27cf67c30eee263d1d41a5953e63c976fd82365.tar.bz2
libvpx-b27cf67c30eee263d1d41a5953e63c976fd82365.zip
register_state_check: clear -Wshadow warning
with --target=x86_64-win64-gcc Bug: webm:1793 Change-Id: I265533af4e8d05adbe1d66a62b6dcb191ca48747
Diffstat (limited to 'test')
-rw-r--r--test/register_state_check.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/register_state_check.h b/test/register_state_check.h
index 0b837dd04..ede86ef52 100644
--- a/test/register_state_check.h
+++ b/test/register_state_check.h
@@ -184,13 +184,13 @@ class RegisterStateCheckMMX {
uint16_t pre_fpu_env_[14];
};
-#define API_REGISTER_STATE_CHECK(statement) \
- do { \
- { \
- libvpx_test::RegisterStateCheckMMX reg_check; \
- ASM_REGISTER_STATE_CHECK(statement); \
- } \
- __asm__ volatile("" ::: "memory"); \
+#define API_REGISTER_STATE_CHECK(statement) \
+ do { \
+ { \
+ libvpx_test::RegisterStateCheckMMX reg_check_mmx; \
+ ASM_REGISTER_STATE_CHECK(statement); \
+ } \
+ __asm__ volatile("" ::: "memory"); \
} while (false)
} // namespace libvpx_test