diff options
author | Meng-Ying Yang <garfield@dexon.org> | 2019-04-08 10:35:29 +0800 |
---|---|---|
committer | Jhih-Ming Huang <jm.huang@cobinhood.com> | 2019-05-06 10:44:05 +0800 |
commit | a5f4e36e997232a16b4cb6b126bb2006a15fce3f (patch) | |
tree | 7f2aae30293757d011d5236cce59ebfc00deb6b0 /core/vm/sqlvm/runtime/opcodes.go | |
parent | c07255382a10bdeaf7d5d2411e9c7c4cdc937694 (diff) | |
download | dexon-a5f4e36e997232a16b4cb6b126bb2006a15fce3f.tar dexon-a5f4e36e997232a16b4cb6b126bb2006a15fce3f.tar.gz dexon-a5f4e36e997232a16b4cb6b126bb2006a15fce3f.tar.bz2 dexon-a5f4e36e997232a16b4cb6b126bb2006a15fce3f.tar.lz dexon-a5f4e36e997232a16b4cb6b126bb2006a15fce3f.tar.xz dexon-a5f4e36e997232a16b4cb6b126bb2006a15fce3f.tar.zst dexon-a5f4e36e997232a16b4cb6b126bb2006a15fce3f.zip |
core: vm: sqlvm: add opNeg
Add `opNeg` supports operand negative.
Diffstat (limited to 'core/vm/sqlvm/runtime/opcodes.go')
-rw-r--r-- | core/vm/sqlvm/runtime/opcodes.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/vm/sqlvm/runtime/opcodes.go b/core/vm/sqlvm/runtime/opcodes.go index 12a4dfefb..5a0e5dd95 100644 --- a/core/vm/sqlvm/runtime/opcodes.go +++ b/core/vm/sqlvm/runtime/opcodes.go @@ -16,6 +16,7 @@ const ( DIV MOD CONCAT + NEG ) // 0x20 range - comparison ops. |