aboutsummaryrefslogtreecommitdiff
path: root/lib/Bitcode
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Bitcode')
-rw-r--r--lib/Bitcode/NaCl/Reader/NaClBitcodeReader.cpp4
-rw-r--r--lib/Bitcode/NaCl/Reader/NaClBitcodeReader.h4
2 files changed, 0 insertions, 8 deletions
diff --git a/lib/Bitcode/NaCl/Reader/NaClBitcodeReader.cpp b/lib/Bitcode/NaCl/Reader/NaClBitcodeReader.cpp
index 27673cd7d3..e1e545343f 100644
--- a/lib/Bitcode/NaCl/Reader/NaClBitcodeReader.cpp
+++ b/lib/Bitcode/NaCl/Reader/NaClBitcodeReader.cpp
@@ -993,10 +993,6 @@ Value *NaClBitcodeReader::ConvertOpToType(Value *Op, Type *T,
report_fatal_error(StrM.str());
}
-Type *NaClBitcodeReader::ConvertTypeToScalarType(Type *T) {
- return T->isPointerTy() ? IntPtrType : T;
-}
-
/// ParseFunctionBody - Lazily parse the specified function body block.
bool NaClBitcodeReader::ParseFunctionBody(Function *F) {
DEBUG(dbgs() << "-> ParseFunctionBody\n");
diff --git a/lib/Bitcode/NaCl/Reader/NaClBitcodeReader.h b/lib/Bitcode/NaCl/Reader/NaClBitcodeReader.h
index 56a894c7d4..b6cf9fab80 100644
--- a/lib/Bitcode/NaCl/Reader/NaClBitcodeReader.h
+++ b/lib/Bitcode/NaCl/Reader/NaClBitcodeReader.h
@@ -330,10 +330,6 @@ private:
Value *ConvertOpToScalar(Value *Op, unsigned BBIndex,
bool DeferInsertion = false);
- /// \brief Returns the corresponding, PNaCl non-pointer equivalent
- /// for the given type.
- Type *ConvertTypeToScalarType(Type *T);
-
/// \brief Install instruction I into basic block BB.
bool InstallInstruction(BasicBlock *BB, Instruction *I);