VG_(handle_esp_assignment): merge two conditional jumps into one on
common path.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1368 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/coregrind/vg_memory.c b/coregrind/vg_memory.c
index 6b610a0..9e5b7d6 100644
--- a/coregrind/vg_memory.c
+++ b/coregrind/vg_memory.c
@@ -320,7 +320,8 @@
# ifndef VG_DEBUG_MEMORY
- if (IS_ALIGNED4_ADDR(old_esp) && IS_ALIGNED4_ADDR(new_esp)) {
+ /* if (IS_ALIGNED4_ADDR(old_esp) && IS_ALIGNED4_ADDR(new_esp)) { */
+ if (IS_ALIGNED4_ADDR((old_esp|new_esp))) {
/* Deal with the most common cases fast. These are ordered in
the sequence most common first. */