aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/llvm/IR/Value.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/llvm/IR/Value.h b/include/llvm/IR/Value.h
index 7ab72cf23b..a4f78627a8 100644
--- a/include/llvm/IR/Value.h
+++ b/include/llvm/IR/Value.h
@@ -105,12 +105,6 @@ public:
///
Type *getType() const { return VTy; }
- // @LOCALMOD-START
- // Currently only used for function type update during
- // the NaCl calling convention rewrite pass
- void setType(Type* t) { VTy = t; }
- // @LOCALMOD-END
-
/// All values hold a context through their type.
LLVMContext &getContext() const;