From: Chris Lattner Date: Thu, 26 Jul 2001 16:28:18 +0000 (+0000) Subject: Add an arg to insertVal to allow us to prevent builtin types from being ignored X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=a25809dda497426fb8daed1c25212b6c3eb73a5d;p=oota-llvm.git 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 --- 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.