Skip to content
Commit 6b80e6e2 authored by Jeffrey Yasskin's avatar Jeffrey Yasskin
Browse files

Add a ValueMap<ValueOrSubclass*, T> type. ValueMap<Value*, T> is safe to use

even when keys get RAUWed and deleted during its lifetime. By default the keys
act like WeakVHs, but users can pass a third template parameter to configure
how updates work and whether to do anything beyond updating the map on each
action.

It's also possible to automatically acquire a lock around ValueMap updates
triggered by RAUWs and deletes, to support the ExecutionEngine.

llvm-svn: 84890
parent c78b8f3c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment