]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
s390x: Fix typos in comments for sub_from_SP and add_to_SP in isel
authorAndreas Arnez <arnez@linux.ibm.com>
Thu, 2 Apr 2020 14:19:32 +0000 (16:19 +0200)
committerAndreas Arnez <arnez@linux.ibm.com>
Wed, 8 Apr 2020 17:39:18 +0000 (19:39 +0200)
The comments for sub_from_SP() and add_to_SP() in host_s390_isel.c have
typos.  Fix them.

VEX/priv/host_s390_isel.c

index ce68b35c7f2d673ab0eba2d073649a826ba2ef92..6d34ca5d63cd67f5de9f40639134573036ed1caf 100644 (file)
@@ -514,7 +514,7 @@ get_const_value_as_ulong(const IRConst *con)
 }
 
 
-/*  Substract n from stack pointer. Assumes 0 <= n <= 256 && n % 8 == 0. */
+/*  Subtract n from stack pointer. Assumes 0 <= n <= 256 && n % 8 == 0. */
 static void
 sub_from_SP ( ISelEnv* env, UInt n )
 {
@@ -525,7 +525,7 @@ sub_from_SP ( ISelEnv* env, UInt n )
 }
 
 
-/*  Substract n from stack pointer. Assumes 0 <= n <= 256 && n % 8 == 0. */
+/*  Add n to stack pointer. Assumes 0 <= n <= 256 && n % 8 == 0. */
 static void
 add_to_SP ( ISelEnv* env, UInt n )
 {