From a25809dda497426fb8daed1c25212b6c3eb73a5d Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 26 Jul 2001 16:28:18 +0000 Subject: [PATCH] Add an arg to insertVal to allow us to prevent builtin types from being ignored when they are inserted git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@302 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Analysis/SlotCalculator.h | 2 +- include/llvm/SlotCalculator.h | 2 +- lib/Bytecode/Writer/SlotCalculator.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/llvm/Analysis/SlotCalculator.h b/include/llvm/Analysis/SlotCalculator.h index d5ebe700f5e..fbdfbe90ad4 100644 --- a/include/llvm/Analysis/SlotCalculator.h +++ b/include/llvm/Analysis/SlotCalculator.h @@ -54,7 +54,7 @@ public: protected: // insertVal - Insert a value into the value table... // - void insertVal(const Value *D); + void insertVal(const Value *D, bool dontIgnore = false); // visitMethod - This member is called after the constant pool has been // processed. The default implementation of this is a noop. diff --git a/include/llvm/SlotCalculator.h b/include/llvm/SlotCalculator.h index d5ebe700f5e..fbdfbe90ad4 100644 --- a/include/llvm/SlotCalculator.h +++ b/include/llvm/SlotCalculator.h @@ -54,7 +54,7 @@ public: protected: // insertVal - Insert a value into the value table... // - void insertVal(const Value *D); + void insertVal(const Value *D, bool dontIgnore = false); // visitMethod - This member is called after the constant pool has been // processed. The default implementation of this is a noop. diff --git a/lib/Bytecode/Writer/SlotCalculator.h b/lib/Bytecode/Writer/SlotCalculator.h index d5ebe700f5e..fbdfbe90ad4 100644 --- a/lib/Bytecode/Writer/SlotCalculator.h +++ b/lib/Bytecode/Writer/SlotCalculator.h @@ -54,7 +54,7 @@ public: protected: // insertVal - Insert a value into the value table... // - void insertVal(const Value *D); + void insertVal(const Value *D, bool dontIgnore = false); // visitMethod - This member is called after the constant pool has been // processed. The default implementation of this is a noop. -- 2.34.1