| Index: src/PNaClTranslator.cpp
|
| diff --git a/src/PNaClTranslator.cpp b/src/PNaClTranslator.cpp
|
| index 47f6a5e5175acec14cba68b6e87e7d17ebec9c6f..a6ea4a5a783631c51761d54dcaa5974014b0fd7b 100644
|
| --- a/src/PNaClTranslator.cpp
|
| +++ b/src/PNaClTranslator.cpp
|
| @@ -12,7 +12,6 @@
|
| //
|
| //===----------------------------------------------------------------------===//
|
|
|
| -#include "PNaClTranslator.h"
|
| #include "IceCfg.h"
|
| #include "IceCfgNode.h"
|
| #include "IceClFlags.h"
|
| @@ -20,6 +19,7 @@
|
| #include "IceInst.h"
|
| #include "IceOperand.h"
|
| #include "IceTypeConverter.h"
|
| +#include "PNaClTranslator.h"
|
| #include "llvm/Analysis/NaCl/PNaClABIProps.h"
|
| #include "llvm/Bitcode/NaCl/NaClBitcodeDecoders.h"
|
| #include "llvm/Bitcode/NaCl/NaClBitcodeHeader.h"
|
| @@ -852,7 +852,7 @@ public:
|
| }
|
| }
|
|
|
| - ~FunctionParser() override;
|
| + ~FunctionParser() override{};
|
|
|
| // Set the next constant ID to the given constant C.
|
| void setNextConstantID(Ice::Constant *C) {
|
| @@ -860,8 +860,6 @@ public:
|
| }
|
|
|
| private:
|
| - // Timer for reading function bitcode and converting to ICE.
|
| - Ice::Timer TConvert;
|
| // The corresponding ICE function defined by the function block.
|
| Ice::Cfg *Func;
|
| // The index to the current basic block being built.
|
| @@ -1376,13 +1374,6 @@ private:
|
| }
|
| };
|
|
|
| -FunctionParser::~FunctionParser() {
|
| - if (getFlags().SubzeroTimingEnabled) {
|
| - errs() << "[Subzero timing] Convert function " << Func->getFunctionName()
|
| - << ": " << TConvert.getElapsedSec() << " sec\n";
|
| - }
|
| -}
|
| -
|
| void FunctionParser::ReportInvalidBinopOpcode(unsigned Opcode, Ice::Type Ty) {
|
| std::string Buffer;
|
| raw_string_ostream StrBuf(Buffer);
|
|
|