Future values don't currently show up in ModelAction (e.g., when
printing). We should set the value when we choose to read from a future
value.
void * get_location() const { return location; }
modelclock_t get_seq_number() const { return seq_number; }
uint64_t get_value() const { return value; }
+ void set_value(uint64_t v) { value = v; }
const ModelAction * get_reads_from() const { return reads_from; }
Node * get_node() const;
/* Read from future value */
struct future_value fv = curr->get_node()->get_future_value();
value = fv.value;
+ curr->set_value(fv.value);
curr->set_read_from(NULL);
promises->push_back(new Promise(curr, fv));
}