mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-27 16:17:17 +00:00
* Change ExpressionConvertableToType to more closely match map behavior of
ConvertExpressionToType * Make ValueHandle's remove instruction from maps when they are deleted so that no false map hits occur if a subsequent instruction is allocated to the same space in memory. This was a VERY VERY VERY EVIL NASTY BUG to track down. :-P git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1288 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -95,8 +95,9 @@ void ConvertUsersType(Value *V, Value *NewVal, ValueMapCache &VMC);
|
||||
//
|
||||
class ValueHandle : public Instruction {
|
||||
ValueHandle(const ValueHandle &); // DO NOT IMPLEMENT
|
||||
ValueMapCache &Cache;
|
||||
public:
|
||||
ValueHandle(Value *V);
|
||||
ValueHandle(ValueMapCache &VMC, Value *V);
|
||||
~ValueHandle();
|
||||
|
||||
virtual Instruction *clone() const { abort(); return 0; }
|
||||
|
Reference in New Issue
Block a user