commit | 9e81e37a0400874aa3a327123c0e4d6e8bfc5290 | [log] [tgz] |
---|---|---|
author | Shih-wei Liao <sliao@google.com> | Tue Jan 17 16:38:40 2012 -0800 |
committer | Shih-wei Liao <sliao@google.com> | Tue Jan 17 16:42:46 2012 -0800 |
tree | e0217567632be9a8462dcedcb18afc5e102dd750 | |
parent | 4deffde52a049eb1b5f2e5504653e5b810c554bf [diff] [blame] |
Add "const". And clean up. Change-Id: I70e6994a0cd1d897e6981d5642108fee1324708f
diff --git a/lib/ExecutionEngine/Compiler.cpp b/lib/ExecutionEngine/Compiler.cpp index ff7f0f1..45958dc 100644 --- a/lib/ExecutionEngine/Compiler.cpp +++ b/lib/ExecutionEngine/Compiler.cpp
@@ -296,7 +296,7 @@ } -int Compiler::compile(CompilerOption &option) { +int Compiler::compile(const CompilerOption &option) { llvm::Target const *Target = NULL; llvm::TargetData *TD = NULL; llvm::TargetMachine *TM = NULL;