summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/README.md b/README.md
index f7aa7ccca..9707efbeb 100644
--- a/README.md
+++ b/README.md
@@ -50,7 +50,9 @@ That will pretty-print out one of the testcases in the test suite. To run a tran
bin/binaryen-shell test/if_else.wast -print-before -print-after -lower-if-else
````
-The `lower-if-else` pass lowers if-else into a block and a break. You can see the difference the transformation between the print before versus after.
+The `lower-if-else` pass lowers if-else into a block and a break. You can see the change the transformation causes by comparing the print before versus after.
+
+It's easy to add your own transformation passes to the shell, just add `.cpp` files into `src/passes`, and rebuild the shell. For example code, take a look at the [`lower-if-else` pass](https://github.com/WebAssembly/binaryen/blob/master/src/passes/LowerIfElse.cpp).
Some more notes: