summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Żenczykowski <maze@google.com>2024-03-20 10:42:54 -0700
committerMaciej Żenczykowski <maze@google.com>2024-03-20 17:44:43 +0000
commitd2e302b5d53df7ec18bc2101577b806c83da7147 (patch)
tree01a7f540ec37d6e6a704a01c43fb766ae500c044
parent13f3eb85bef46c60bc850b8783133971b7db7128 (diff)
downloadapf-d2e302b5d53df7ec18bc2101577b806c83da7147.tar.gz
v5: improve JONEOF_OPCODE documentation comment
Test: N/A, comment only Signed-off-by: Maciej Żenczykowski <maze@google.com> Change-Id: Id3d07f8e5262bf0139a39d6b1e48b46997ba2187
-rw-r--r--v5/apf.h2
-rw-r--r--v5/apf_interpreter.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/v5/apf.h b/v5/apf.h
index 1535976..d94dba6 100644
--- a/v5/apf.h
+++ b/v5/apf.h
@@ -290,7 +290,7 @@ typedef union {
* imm3(u8): top 5 bits - number of following u8/be16/be32 values - 1
* middle 2 bits - 1..4 length of immediates
* bottom 1 bit - =0 jmp if in set, =1 if not in set
- * imm4(imm3 * 1/2/3/4 bytes): the values to compare against
+ * imm4(imm3 * 1/2/3/4 bytes): the *UNIQUE* values to compare against
*/
#define JONEOF_EXT_OPCODE 47
diff --git a/v5/apf_interpreter.c b/v5/apf_interpreter.c
index 7a9f68f..5f22427 100644
--- a/v5/apf_interpreter.c
+++ b/v5/apf_interpreter.c
@@ -362,7 +362,7 @@ typedef union {
* imm3(u8): top 5 bits - number of following u8/be16/be32 values - 1
* middle 2 bits - 1..4 length of immediates
* bottom 1 bit - =0 jmp if in set, =1 if not in set
- * imm4(imm3 * 1/2/3/4 bytes): the values to compare against
+ * imm4(imm3 * 1/2/3/4 bytes): the *UNIQUE* values to compare against
*/
#define JONEOF_EXT_OPCODE 47