mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-03 14:31:10 +00:00
Refix bug: Add back method MachineCodeForInstruction::dropAllReferences.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1980 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4cbd55062d
commit
dfe412dc8b
@ -36,6 +36,13 @@ public:
|
||||
static MachineCodeForInstruction &get(const Instruction *I);
|
||||
static void destroy(const Instruction *I);
|
||||
|
||||
// dropAllReferences() - This function drops all references within
|
||||
// temporary (hidden) instructions created in implementing the original
|
||||
// VM intruction. This ensures there are no remaining "uses" within
|
||||
// these hidden instructions, before the values of a method are freed.
|
||||
//
|
||||
void dropAllReferences();
|
||||
|
||||
const std::vector<Value*> &getTempValues() const { return tempVec; }
|
||||
std::vector<Value*> &getTempValues() { return tempVec; }
|
||||
|
||||
|
@ -36,6 +36,13 @@ public:
|
||||
static MachineCodeForInstruction &get(const Instruction *I);
|
||||
static void destroy(const Instruction *I);
|
||||
|
||||
// dropAllReferences() - This function drops all references within
|
||||
// temporary (hidden) instructions created in implementing the original
|
||||
// VM intruction. This ensures there are no remaining "uses" within
|
||||
// these hidden instructions, before the values of a method are freed.
|
||||
//
|
||||
void dropAllReferences();
|
||||
|
||||
const std::vector<Value*> &getTempValues() const { return tempVec; }
|
||||
std::vector<Value*> &getTempValues() { return tempVec; }
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user