Split Common.h into Numeric.h.

This commit is contained in:
chriseth
2021-09-23 15:27:29 +02:00
parent c8e6ef9657
commit 1531863835
65 changed files with 318 additions and 215 deletions
+3 -2
View File
@@ -25,6 +25,7 @@
#include <libyul/Exceptions.h>
#include <libsolutil/CommonData.h>
#include <libsolutil/Numeric.h>
#include <libsolutil/Keccak256.h>
#include <libsolutil/StringUtils.h>
#include <libsolutil/Visitor.h>
@@ -54,7 +55,7 @@ string TextTransform::run(wasm::Module const& _module)
" ;; (@custom \"" +
name +
"\" \"" +
toHex(BinaryTransform::run(module)) +
util::toHex(BinaryTransform::run(module)) +
"\")\n";
for (auto const& [name, data]: _module.customSections)
ret +=
@@ -62,7 +63,7 @@ string TextTransform::run(wasm::Module const& _module)
" ;; (@custom \"" +
name +
"\" \"" +
toHex(data) +
util::toHex(data) +
"\")\n";
for (wasm::FunctionImport const& imp: _module.imports)
{