From 510abc0997c248a1a767ceade6749f426ae3a968 Mon Sep 17 00:00:00 2001 From: Gav Wood <i@gavwood.com> Date: Sun, 27 Jul 2014 11:20:43 +0200 Subject: Fixes and whatnot. --- CompilerState.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CompilerState.cpp b/CompilerState.cpp index 380d5a66..01995674 100644 --- a/CompilerState.cpp +++ b/CompilerState.cpp @@ -62,6 +62,8 @@ void CompilerState::populateStandard() "(def 'create (value code) { [0]:(msize) (create value @0 (lll code @0)) })" "(def 'create (code) { [0]:(msize) (create 0 @0 (lll code @0)) })" "(def 'sha3 (val) { [0]:val (sha3 0 32) })" + "(def 'sha3pair (a b) { [0]:a [32]:b (sha3 0 64) })" + "(def 'sha3trip (a b c) { [0]:a [32]:b [64]:c (sha3 0 96) })" "(def 'return (val) { [0]:val (return 0 32) })" "(def 'returnlll (code) (return 0 (lll code 0)) )" "(def 'makeperm (name pos) { (def name (sload pos)) (def name (v) (sstore pos v)) } )" -- cgit v1.2.3