mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #5572 from ethereum/fix-compilation-macos
Fix 0.4.25 compilation macos
This commit is contained in:
commit
0bdcf1b317
@ -264,7 +264,7 @@ Json::Value Assembly::assemblyJSON(StringMap const& _sourceCodes) const
|
||||
createJsonValue("PUSH [ErrorTag]", i.location().start, i.location().end, ""));
|
||||
else
|
||||
collection.append(
|
||||
createJsonValue("PUSH [tag]", i.location().start, i.location().end, string(i.data())));
|
||||
createJsonValue("PUSH [tag]", i.location().start, i.location().end, toString(i.data())));
|
||||
break;
|
||||
case PushSub:
|
||||
collection.append(
|
||||
@ -290,7 +290,7 @@ Json::Value Assembly::assemblyJSON(StringMap const& _sourceCodes) const
|
||||
break;
|
||||
case Tag:
|
||||
collection.append(
|
||||
createJsonValue("tag", i.location().start, i.location().end, string(i.data())));
|
||||
createJsonValue("tag", i.location().start, i.location().end, toString(i.data())));
|
||||
collection.append(
|
||||
createJsonValue("JUMPDEST", i.location().start, i.location().end));
|
||||
break;
|
||||
|
||||
@ -606,7 +606,8 @@ bool Parser::isValidNumberLiteral(string const& _literal)
|
||||
{
|
||||
try
|
||||
{
|
||||
u256(_literal);
|
||||
u256 v(_literal);
|
||||
(void)v;
|
||||
}
|
||||
catch (...)
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user