Fix some macros.

This commit is contained in:
Gav Wood 2014-07-02 14:39:21 +02:00
parent ba064e4e0b
commit 6731576311

View File

@ -55,8 +55,8 @@ void CompilerState::populateStandard()
"(def 'msg (gaslimit to value data datasize outsize) { (set x outsize) (set y (alloc @32)) (call gaslimit to value data datasize @0 @32) @0 })"
"(def 'msg (gaslimit to value data datasize) { (call gaslimit to value data datasize 0 32) @0 })"
"(def 'msg (gaslimit to value data) { [0]:data (msg gaslimit to value 0 32) })"
"(def 'msg (to value data) { [0]:data (msg 0 to value 0 32) })"
"(def 'msg (to data) { [0]:data (msg 0 to 0 0 32) })"
"(def 'msg (to value data) { [0]:data (msg (- gas 21) to value 0 32) })"
"(def 'msg (to data) { [0]:data (msg (- gas 21) to 0 0 32) })"
"(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) })"