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/ScriptCompiled.h b/lib/ExecutionEngine/ScriptCompiled.h index f7bf48b..5da8851 100644 --- a/lib/ExecutionEngine/ScriptCompiled.h +++ b/lib/ExecutionEngine/ScriptCompiled.h
@@ -85,7 +85,7 @@ return mCompiler.linkModule(module); } - int compile(CompilerOption &option) { + int compile(const CompilerOption &option) { return mCompiler.compile(option); }