diff options
author | Dylan Noblesmith <nobled@dreamwidth.org> | 2011-12-01 21:49:21 +0000 |
---|---|---|
committer | Dylan Noblesmith <nobled@dreamwidth.org> | 2011-12-01 21:49:21 +0000 |
commit | d95e67dac029d48984b72889a96a1bb389b8ac71 (patch) | |
tree | 0a3e91fba34be1c4b4556b32121320449ee93fa3 /include/llvm/ExecutionEngine | |
parent | 00737bdb488cc7157ca5f7a40d6cd8467ad09a79 (diff) | |
download | external_llvm-d95e67dac029d48984b72889a96a1bb389b8ac71.zip external_llvm-d95e67dac029d48984b72889a96a1bb389b8ac71.tar.gz external_llvm-d95e67dac029d48984b72889a96a1bb389b8ac71.tar.bz2 |
ExecutionEngine: honor optimization level
It was getting ignored after r144788.
Also fix an accidental implicit cast from the OptLevel enum
to an optional bool argument. MSVC warned on this, but gcc
didn't.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145633 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/ExecutionEngine')
-rw-r--r-- | include/llvm/ExecutionEngine/ExecutionEngine.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/ExecutionEngine/ExecutionEngine.h b/include/llvm/ExecutionEngine/ExecutionEngine.h index cf85671..2b5d61c 100644 --- a/include/llvm/ExecutionEngine/ExecutionEngine.h +++ b/include/llvm/ExecutionEngine/ExecutionEngine.h @@ -580,6 +580,7 @@ public: const SmallVectorImpl<std::string>& MAttrs, Reloc::Model RM, CodeModel::Model CM, + CodeGenOpt::Level OL, std::string *Err); ExecutionEngine *create(); |