llvm-6502/lib
Daniel Dunbar e5b18362db Add a TrackingVH value handle.
This is designed for tracking a value even when it might move (like WeakVH), but it is an error to delete the referenced value (unlike WeakVH0. TrackingVH is templated like AssertingVH on the tracked Value subclass, it is an error to RAUW a tracked value to an incompatible type.

For implementation reasons the latter error is only diagnosed on accesses to a mis-RAUWed TrackingVH, because we don't want a virtual interface in a templated class.

The former error is also only diagnosed on access, so that clients are allowed to delete a tracked value, as long as they don't use it. This makes it easier for the client to reason about destruction.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82506 91177308-0d34-0410-b5e6-96231b3b80d8
2009-09-22 02:02:33 +00:00
..
Analysis Revert r82404, it is causing a bootstrap miscompile. This is very very 2009-09-20 22:44:26 +00:00
Archive
AsmParser Tabs -> spaces, and remove trailing whitespace. 2009-09-20 02:20:51 +00:00
Bitcode Tabs -> spaces, and remove trailing whitespace. 2009-09-20 02:20:51 +00:00
CodeGen Fix a pasto. Also simplify for Bill's benefit. 2009-09-22 01:48:19 +00:00
CompilerDriver
Debugger
ExecutionEngine Update cmake. 2009-09-21 08:08:29 +00:00
Linker
MC eliminate a use of strtoul. 2009-09-20 06:58:54 +00:00
Support simplify as daniel suggests 2009-09-20 22:56:43 +00:00
System
Target Add Cortex-A8 VFP model. 2009-09-21 20:52:17 +00:00
Transforms tidy up 2009-09-21 22:26:02 +00:00
VMCore Add a TrackingVH value handle. 2009-09-22 02:02:33 +00:00
Makefile