summaryrefslogtreecommitdiff
path: root/chapter04
diff options
context:
space:
mode:
authorHels15 <helsgithub15@gmail.com>2024-09-23 21:01:28 +0100
committerCliff Click <cliffc@acm.org>2024-09-25 12:56:22 -0700
commit4f15ef04f266fe27988a4b45a7bbde6848f7aa32 (patch)
tree6bab4fa723cc5b7eaea4090d6b379aa9103fa745 /chapter04
parent2eb9be2c9a1390134f99205538eb6e4ed75f43cc (diff)
downloadSimple-4f15ef04f266fe27988a4b45a7bbde6848f7aa32.tar.gz
Simple-4f15ef04f266fe27988a4b45a7bbde6848f7aa32.zip
replace constant fold version to arg
Diffstat (limited to 'chapter04')
-rw-r--r--chapter04/README.md12
1 files changed, 6 insertions, 6 deletions
diff --git a/chapter04/README.md b/chapter04/README.md
index e180a88d..fe338d0a 100644
--- a/chapter04/README.md
+++ b/chapter04/README.md
@@ -276,12 +276,12 @@ Here is a (partial) list of peepholes introduced in this Chapter:
| (arg + arg) | (arg * 2) | Sum-of-products form |
| (arg - arg) | 0 | Sub of same is 0
| (con / 1) | con | Division by one
-| (con == con) | 1 | Compare of same
-| (con != con) | 0 | Compare of same
-| (con < con) | 0 | Compare of same
-| (con > con) | 0 | Compare of same
-| (con <= con) | 1 | Compare of same
-| (con >= con) | 1 | Compare of same
+| (arg == arg) | 1 | Compare of same
+| (arg != arg) | 0 | Compare of same
+| (arg < arg) | 0 | Compare of same
+| (arg > arg) | 0 | Compare of same
+| (arg <= arg) | 1 | Compare of same
+| (arg >= arg) | 1 | Compare of same
## Code Walkthrough