mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-10-10 08:12:21 +03:00
Wrap MPV puffettes in a struct
This commit is contained in:
committed by
Matthew Barr
parent
ac31841214
commit
fa27025bcb
@@ -1780,7 +1780,7 @@ bool RoseBuildImpl::addOutfix(const raw_puff &rp) {
|
||||
mpv_outfix->chained = true;
|
||||
}
|
||||
|
||||
mpv_outfix->puffettes.push_back(rp);
|
||||
mpv_outfix->mpv.puffettes.push_back(rp);
|
||||
|
||||
mpv_outfix->maxBAWidth = ROSE_BOUND_INF; /* not ba */
|
||||
mpv_outfix->minWidth = min(mpv_outfix->minWidth, depth(rp.repeats));
|
||||
@@ -1804,7 +1804,7 @@ bool RoseBuildImpl::addChainTail(const raw_puff &rp, u32 *queue_out,
|
||||
mpv_outfix->chained = true;
|
||||
}
|
||||
|
||||
mpv_outfix->triggered_puffettes.push_back(rp);
|
||||
mpv_outfix->mpv.triggered_puffettes.push_back(rp);
|
||||
|
||||
mpv_outfix->maxBAWidth = ROSE_BOUND_INF; /* not ba */
|
||||
mpv_outfix->minWidth = min(mpv_outfix->minWidth, depth(rp.repeats));
|
||||
@@ -1816,7 +1816,7 @@ bool RoseBuildImpl::addChainTail(const raw_puff &rp, u32 *queue_out,
|
||||
* the caller */
|
||||
|
||||
*queue_out = mpv_outfix->get_queue(qif);
|
||||
*event_out = MQE_TOP_FIRST + mpv_outfix->triggered_puffettes.size() - 1;
|
||||
*event_out = MQE_TOP_FIRST + mpv_outfix->mpv.triggered_puffettes.size() - 1;
|
||||
|
||||
return true; /* failure is not yet an option */
|
||||
}
|
||||
|
Reference in New Issue
Block a user