From 4f15ef04f266fe27988a4b45a7bbde6848f7aa32 Mon Sep 17 00:00:00 2001 From: Hels15 Date: Mon, 23 Sep 2024 21:01:28 +0100 Subject: replace constant fold version to arg --- chapter04/README.md | 12 ++++++------ 1 file 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 -- cgit v1.2.3