aboutsummaryrefslogtreecommitdiffstats
path: root/Compiler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Compiler.cpp')
-rw-r--r--Compiler.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Compiler.cpp b/Compiler.cpp
index cd326341..8400ad95 100644
--- a/Compiler.cpp
+++ b/Compiler.cpp
@@ -32,6 +32,7 @@ bytes eth::compileLLL(string const& _src, bool _opt, vector<string>* _errors)
try
{
CompilerState cs;
+ cs.populateStandard();
auto f = CodeFragment::compile(_src, cs);
if (_opt)
f.optimise();
@@ -58,6 +59,7 @@ std::string eth::compileLLLToAsm(std::string const& _src, bool _opt, std::vector
try
{
CompilerState cs;
+ cs.populateStandard();
auto f = CodeFragment::compile(_src, cs);
if (_opt)
f.optimise();