mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Macros and definitions in LLL.
This commit is contained in:
parent
e74dfb4685
commit
9d7047272d
4
vm.cpp
4
vm.cpp
@ -162,7 +162,7 @@ public:
|
|||||||
|
|
||||||
thisTxCode.clear();
|
thisTxCode.clear();
|
||||||
if (_o["code"].type() == str_type)
|
if (_o["code"].type() == str_type)
|
||||||
compileLisp(_o["code"].get_str(), false, thisTxCode);
|
thisTxCode = compileLLL(_o["code"].get_str(), nullptr);
|
||||||
else
|
else
|
||||||
for (auto const& j: _o["code"].get_array())
|
for (auto const& j: _o["code"].get_array())
|
||||||
thisTxCode.push_back(toByte(j));
|
thisTxCode.push_back(toByte(j));
|
||||||
@ -277,7 +277,7 @@ public:
|
|||||||
get<2>(a)[adr++] = toInt(k);
|
get<2>(a)[adr++] = toInt(k);
|
||||||
}
|
}
|
||||||
if (o["code"].type() == str_type)
|
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
|
else
|
||||||
{
|
{
|
||||||
get<3>(a).clear();
|
get<3>(a).clear();
|
||||||
|
Loading…
Reference in New Issue
Block a user