aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGav Wood <i@gavwood.com>2014-05-31 19:01:06 +0800
committerGav Wood <i@gavwood.com>2014-05-31 19:01:06 +0800
commit7afd678509cf01187d8a706a0bbdb45df115f755 (patch)
tree60523a90be9d902df258e43924a7ae224b550eea
parent9ebaeb53fa398a2b983bd9320cd73d3c2f0b2c62 (diff)
downloaddexon-solidity-7afd678509cf01187d8a706a0bbdb45df115f755.tar.gz
dexon-solidity-7afd678509cf01187d8a706a0bbdb45df115f755.tar.zst
dexon-solidity-7afd678509cf01187d8a706a0bbdb45df115f755.zip
Fix for compiler.
-rw-r--r--CompilerState.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/CompilerState.cpp b/CompilerState.cpp
index e5d0b2a0..2d23d14e 100644
--- a/CompilerState.cpp
+++ b/CompilerState.cpp
@@ -48,7 +48,7 @@ void CompilerState::populateStandard()
"(def 'msg (gaslimit to value data datasize outsize) { [32]:outsize [0]:(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 'create (to value code) { [0]:(msize) (create to value @0 (lll code @0)) })"
+ "(def 'create (value code) { [0]:(msize) (create value @0 (lll code @0)) })"
"(def 'sha3 (val) { [0]:val (sha3 0 32) })"
"(def 'return (val) { [0]:val (return 0 32) })"
"(def 'makeperm (name pos) { (def name (sload pos)) (def name (v) (sstore pos v)) } )"