Use jit::deque instead of jit::vector for cached operands in vasm-graph-color
Summary:
We guarantee that you can hold a reference to the cached operand
VregSets indefinitely (since we never delete them). However, since
they are stored in jit::vector, we can resize and invalidate
references. Fix this by using jit::deque instead (which guarantees
references to elements are never invalidated).
I'm surprised this was never a problem until now, but with some other
changes this started causing problems.
Reviewed By: ottoni, mofarrell
Differential Revision:
D17270519
fbshipit-source-id:
a6c740ecbd186117c2adc5f0aaabcbc3cae55ddc