projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Massive check in. This changes the "-fast" flag to "-O#" in llc. If you want to
[oota-llvm.git]
/
lib
/
Target
/
CppBackend
/
CPPBackend.cpp
diff --git
a/lib/Target/CppBackend/CPPBackend.cpp
b/lib/Target/CppBackend/CPPBackend.cpp
index e89d5f9ddd1f14cb87f7cac9723b784b88dfe59c..3d6362145e2a9df8269a056ccd829016e939fe89 100644
(file)
--- a/
lib/Target/CppBackend/CPPBackend.cpp
+++ b/
lib/Target/CppBackend/CPPBackend.cpp
@@
-1995,7
+1995,7
@@
char CppWriter::ID = 0;
bool CPPTargetMachine::addPassesToEmitWholeFile(PassManager &PM,
raw_ostream &o,
CodeGenFileType FileType,
-
bool Fast
) {
+
unsigned OptLevel
) {
if (FileType != TargetMachine::AssemblyFile) return true;
PM.add(new CppWriter(o));
return false;