aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/inlineasm
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-06-09 19:45:56 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-06-09 19:45:56 +0800
commit1da3af161f94b28b816fd5522795aaae3af190f3 (patch)
tree27432ad1748daa89772967a900e7f2174bfd4b4b /libsolidity/inlineasm
parent3e91177c4d3966be32eea6b4b7b3a63058022dc7 (diff)
downloaddexon-solidity-1da3af161f94b28b816fd5522795aaae3af190f3.tar.gz
dexon-solidity-1da3af161f94b28b816fd5522795aaae3af190f3.tar.zst
dexon-solidity-1da3af161f94b28b816fd5522795aaae3af190f3.zip
Simplify CodeGenerator by remove seldom used case
Diffstat (limited to 'libsolidity/inlineasm')
-rw-r--r--libsolidity/inlineasm/AsmCodeGen.cpp11
-rw-r--r--libsolidity/inlineasm/AsmCodeGen.h6
2 files changed, 0 insertions, 17 deletions
diff --git a/libsolidity/inlineasm/AsmCodeGen.cpp b/libsolidity/inlineasm/AsmCodeGen.cpp
index 0e4e744f..27750453 100644
--- a/libsolidity/inlineasm/AsmCodeGen.cpp
+++ b/libsolidity/inlineasm/AsmCodeGen.cpp
@@ -132,17 +132,6 @@ private:
eth::Assembly& m_assembly;
};
-eth::Assembly assembly::CodeGenerator::assemble(
- Block const& _parsedData,
- AsmAnalysisInfo& _analysisInfo,
- julia::ExternalIdentifierAccess const& _identifierAccess
-)
-{
- eth::Assembly assembly;
- EthAssemblyAdapter assemblyAdapter(assembly);
- julia::CodeTransform(assemblyAdapter, _analysisInfo, false, _identifierAccess).run(_parsedData);
- return assembly;
-}
void assembly::CodeGenerator::assemble(
Block const& _parsedData,
diff --git a/libsolidity/inlineasm/AsmCodeGen.h b/libsolidity/inlineasm/AsmCodeGen.h
index 7a149d74..2a36a590 100644
--- a/libsolidity/inlineasm/AsmCodeGen.h
+++ b/libsolidity/inlineasm/AsmCodeGen.h
@@ -41,12 +41,6 @@ struct Block;
class CodeGenerator
{
public:
- /// Performs code generation and @returns the result.
- static eth::Assembly assemble(
- Block const& _parsedData,
- AsmAnalysisInfo& _analysisInfo,
- julia::ExternalIdentifierAccess const& _identifierAccess = julia::ExternalIdentifierAccess()
- );
/// Performs code generation and appends generated to to _assembly.
static void assemble(
Block const& _parsedData,