diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2014-06-13 02:24:39 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2014-06-13 02:24:39 +0000 |
commit | db4ed0bdabc9f61fbd373be416375e38bf1acb27 (patch) | |
tree | 0efbd2559140b336f68d1a7528dcc64add57602d /llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp | |
parent | 3453bcf64d394b109ccab19915ba2fa40feeb59b (diff) | |
download | bcm5719-llvm-db4ed0bdabc9f61fbd373be416375e38bf1acb27.tar.gz bcm5719-llvm-db4ed0bdabc9f61fbd373be416375e38bf1acb27.zip |
Remove 'using std::errro_code' from lib.
llvm-svn: 210871
Diffstat (limited to 'llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp')
-rw-r--r-- | llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp b/llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp index e3e63f4d5f9..814efcc27fc 100644 --- a/llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp +++ b/llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp @@ -19,7 +19,6 @@ #include "llvm/IR/Module.h" #include <cstring> using namespace llvm; -using std::error_code; namespace { @@ -35,7 +34,7 @@ extern "C" void LLVMLinkInInterpreter() { } /// ExecutionEngine *Interpreter::create(Module *M, std::string* ErrStr) { // Tell this Module to materialize everything and release the GVMaterializer. - if (error_code EC = M->materializeAllPermanently()) { + if (std::error_code EC = M->materializeAllPermanently()) { if (ErrStr) *ErrStr = EC.message(); // We got an error, just return 0 |