Chromium Code Reviews| Index: src/IceTypeConverter.h |
| diff --git a/src/IceTypeConverter.h b/src/IceTypeConverter.h |
| index 32865a6f470676689fea485e42868f2b19448ee4..5318d4a3ba8e266d7c1f891c6ba43896472722a4 100644 |
| --- a/src/IceTypeConverter.h |
| +++ b/src/IceTypeConverter.h |
| @@ -35,12 +35,6 @@ public: |
| /// Context is the context to use to build llvm types. |
| TypeConverter(llvm::LLVMContext &Context); |
| - /// Returns the LLVM type for the corresponding ICE type Ty. |
| - llvm::Type *convertToLLVMType(Type Ty) const { |
| - // Note: We use "at" here in case Ty wasn't registered. |
| - return LLVMTypes.at(Ty); |
|
jvoung (off chromium)
2014/12/15 21:05:32
I think this means that LLVMTypes can also be remo
Karl
2014/12/15 21:45:19
Done.
|
| - } |
| - |
| /// Converts LLVM type LLVMTy to an ICE type. Returns |
| /// Ice::IceType_NUM if unable to convert. |
| Type convertToIceType(llvm::Type *LLVMTy) const { |
| @@ -50,9 +44,6 @@ public: |
| return Pos->second; |
| } |
| - /// Returns ICE model of pointer type. |
| - Type getIcePointerType() const { return IceType_i32; } |
| - |
| private: |
| // The list of allowable LLVM types. Indexed by ICE type. |
| std::vector<llvm::Type *> LLVMTypes; |