| Index: src/IceTranslator.cpp
|
| diff --git a/src/IceTranslator.cpp b/src/IceTranslator.cpp
|
| index e0c7e2dbf849397ba5d4e20de9fd27aec770e618..91dcfd4de08bea8a02c5aa1a1411a001462d15f2 100644
|
| --- a/src/IceTranslator.cpp
|
| +++ b/src/IceTranslator.cpp
|
| @@ -12,12 +12,11 @@
|
| //
|
| //===----------------------------------------------------------------------===//
|
|
|
| -#include "IceTranslator.h"
|
| -
|
| #include "IceCfg.h"
|
| #include "IceClFlags.h"
|
| #include "IceDefs.h"
|
| #include "IceTargetLowering.h"
|
| +#include "IceTranslator.h"
|
| #include "llvm/IR/Module.h"
|
| #include "llvm/IR/Constant.h"
|
| #include "llvm/IR/Constants.h"
|
| @@ -80,24 +79,13 @@ void Translator::translateFcn(Cfg *Fcn) {
|
| if (Ctx->getFlags().DisableTranslation) {
|
| Func->dump();
|
| } else {
|
| - Timer TTranslate;
|
| Func->translate();
|
| - if (Ctx->getFlags().SubzeroTimingEnabled) {
|
| - std::cerr << "[Subzero timing] Translate function "
|
| - << Func->getFunctionName() << ": " << TTranslate.getElapsedSec()
|
| - << " sec\n";
|
| - }
|
| if (Func->hasError()) {
|
| std::cerr << "ICE translation error: " << Func->getError() << "\n";
|
| ErrorStatus = true;
|
| }
|
|
|
| - Timer TEmit;
|
| Func->emit();
|
| - if (Ctx->getFlags().SubzeroTimingEnabled) {
|
| - std::cerr << "[Subzero timing] Emit function " << Func->getFunctionName()
|
| - << ": " << TEmit.getElapsedSec() << " sec\n";
|
| - }
|
| Ctx->dumpStats(Func->getFunctionName());
|
| }
|
| }
|
|
|