aboutsummaryrefslogtreecommitdiffstats
path: root/vm.cpp
diff options
context:
space:
mode:
authorGav Wood <i@gavwood.com>2014-05-28 00:51:10 +0800
committerGav Wood <i@gavwood.com>2014-05-28 00:51:10 +0800
commit305ddf1fed4640c0a9ce9c3f693700c9dd9aea69 (patch)
treebdffb8de190a31618b78f881cdef0d0b45ce99d2 /vm.cpp
parentef95ba9ac39a9eea558a02cba94d8a141ddec5bf (diff)
downloaddexon-solidity-305ddf1fed4640c0a9ce9c3f693700c9dd9aea69.tar.gz
dexon-solidity-305ddf1fed4640c0a9ce9c3f693700c9dd9aea69.tar.zst
dexon-solidity-305ddf1fed4640c0a9ce9c3f693700c9dd9aea69.zip
Pinhole optimise working fairly well...
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 6c3d5b1b..c2dc2791 100644
--- a/vm.cpp
+++ b/vm.cpp
@@ -163,7 +163,7 @@ public:
thisTxCode.clear();
if (_o["code"].type() == str_type)
- thisTxCode = compileLLL(_o["code"].get_str(), nullptr);
+ thisTxCode = compileLLL(_o["code"].get_str());
else
for (auto const& j: _o["code"].get_array())
thisTxCode.push_back(toByte(j));
@@ -278,7 +278,7 @@ public:
get<2>(a)[adr++] = toInt(k);
}
if (o["code"].type() == str_type)
- get<3>(a) = compileLLL(o["code"].get_str(), nullptr);
+ get<3>(a) = compileLLL(o["code"].get_str());
else
{
get<3>(a).clear();