Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(26)

Unified Diff: src/IceTypeConverter.h

Issue 805943002: Remove TypeConverter and Module from minimal subzero build. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Remove unnecessary code. Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/IceConverter.cpp ('k') | src/IceTypeConverter.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « src/IceConverter.cpp ('k') | src/IceTypeConverter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698