]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Pack Lackey Event structure
authorPaul Floyd <pjfloyd@wanadoo.fr>
Wed, 1 Feb 2023 20:44:31 +0000 (21:44 +0100)
committerPaul Floyd <pjfloyd@wanadoo.fr>
Wed, 1 Feb 2023 20:44:31 +0000 (21:44 +0100)
Seen by cppcheck. Will reduced size from 4 to 3 words on 64bit platforms.

lackey/lk_main.c

index e19b39f16f3414aef3141eeef8e229e0b73c7071..8ee62a78bb5cf8cb2b854248f22ff5be17d5e0b1 100644 (file)
@@ -408,8 +408,8 @@ typedef
 
 typedef
    struct {
-      EventKind  ekind;
       IRAtom*    addr;
+      EventKind  ekind;
       Int        size;
       IRAtom*    guard; /* :: Ity_I1, or NULL=="always True" */
    }