diff options
author | Eduardo Julian | 2018-05-06 03:30:47 -0400 |
---|---|---|
committer | Eduardo Julian | 2018-05-06 03:30:47 -0400 |
commit | e65e734e5df3746ffb7df2cc9fa33826e0083fcd (patch) | |
tree | c67b1105a4b421d527804ccbfcab4d29ec20e744 /luxc/src/lux/analyser | |
parent | f5a6fe62a612c0727063fa9e530d53ddda5fcd82 (diff) |
- Re-named shift-left -> left-shift, shift-right -> logical-right-shift, signed-shift-right -> arithmetic-right-shift.
Diffstat (limited to 'luxc/src/lux/analyser')
-rw-r--r-- | luxc/src/lux/analyser/proc/common.clj | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/luxc/src/lux/analyser/proc/common.clj b/luxc/src/lux/analyser/proc/common.clj index 80271f9e7..9a90c219e 100644 --- a/luxc/src/lux/analyser/proc/common.clj +++ b/luxc/src/lux/analyser/proc/common.clj @@ -154,9 +154,9 @@ (return (&/|list (&&/|meta exo-type _cursor (&&/$proc (&/T ["bit" <op>]) (&/|list =input =shift) (&/|list))))))) - ^:private analyse-bit-shift-left "shift-left" &type/Nat - ^:private analyse-bit-shift-right "shift-right" &type/Int - ^:private analyse-bit-unsigned-shift-right "unsigned-shift-right" &type/Nat + ^:private analyse-bit-left-shift "left-shift" &type/Nat + ^:private analyse-bit-arithmetic-right-shift "arithmetic-right-shift" &type/Int + ^:private analyse-bit-logical-right-shift "logical-right-shift" &type/Nat ) (do-template [<name> <proc> <input-type> <output-type>] @@ -502,9 +502,9 @@ "lux bit and" (analyse-bit-and analyse exo-type ?values) "lux bit or" (analyse-bit-or analyse exo-type ?values) "lux bit xor" (analyse-bit-xor analyse exo-type ?values) - "lux bit shift-left" (analyse-bit-shift-left analyse exo-type ?values) - "lux bit shift-right" (analyse-bit-shift-right analyse exo-type ?values) - "lux bit unsigned-shift-right" (analyse-bit-unsigned-shift-right analyse exo-type ?values) + "lux bit left-shift" (analyse-bit-left-shift analyse exo-type ?values) + "lux bit arithmetic-right-shift" (analyse-bit-arithmetic-right-shift analyse exo-type ?values) + "lux bit logical-right-shift" (analyse-bit-logical-right-shift analyse exo-type ?values) "lux array new" (analyse-array-new analyse exo-type ?values) "lux array get" (analyse-array-get analyse exo-type ?values) |