aboutsummaryrefslogtreecommitdiffstats
path: root/vm.cpp
diff options
context:
space:
mode:
authorGav Wood <i@gavwood.com>2014-05-25 08:17:17 +0800
committerGav Wood <i@gavwood.com>2014-05-25 08:17:17 +0800
commit9d7047272daf476703978e4ab595bb9fe197019d (patch)
treec65d3df1ec33883b47600346ddf8aa911503eb73 /vm.cpp
parente74dfb4685ff39a490a628438ee926a680fd86f8 (diff)
downloaddexon-solidity-9d7047272daf476703978e4ab595bb9fe197019d.tar
dexon-solidity-9d7047272daf476703978e4ab595bb9fe197019d.tar.gz
dexon-solidity-9d7047272daf476703978e4ab595bb9fe197019d.tar.bz2
dexon-solidity-9d7047272daf476703978e4ab595bb9fe197019d.tar.lz
dexon-solidity-9d7047272daf476703978e4ab595bb9fe197019d.tar.xz
dexon-solidity-9d7047272daf476703978e4ab595bb9fe197019d.tar.zst
dexon-solidity-9d7047272daf476703978e4ab595bb9fe197019d.zip
Macros and definitions in LLL.
Diffstat (limited to 'vm.cpp')
-rw-r--r--vm.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/vm.cpp b/vm.cpp
index a7ad8daa..89004098 100644
--- a/vm.cpp
+++ b/vm.cpp
@@ -162,7 +162,7 @@ public:
thisTxCode.clear();
if (_o["code"].type() == str_type)
- compileLisp(_o["code"].get_str(), false, thisTxCode);
+ thisTxCode = compileLLL(_o["code"].get_str(), nullptr);
else
for (auto const& j: _o["code"].get_array())
thisTxCode.push_back(toByte(j));
@@ -277,7 +277,7 @@ public:
get<2>(a)[adr++] = toInt(k);
}
if (o["code"].type() == str_type)
- compileLisp(o["code"].get_str(), false, get<3>(a));
+ get<3>(a) = compileLLL(o["code"].get_str(), nullptr);
else
{
get<3>(a).clear();