pub struct ObjectCondBranch {
pub pc: u32,
pub wasm_op_index: Option<usize>,
pub instruction_offset: Option<u32>,
pub resolved: bool,
pub origin: Option<String>,
pub note: Option<String>,
}Expand description
One object-level conditional branch, and whether it reconciled to a covered
source condition. This is the (a)-clause carrier: derived from the REAL
object-branch side-table, so a branch synth emitted that no covered source op
explains shows up here with resolved: false (surfaced, not hidden).
Fields§
§pc: u32Function-relative machine offset of the conditional branch.
wasm_op_index: Option<usize>The wasm op index this branch traces back to (via line_map), if any.
instruction_offset: Option<u32>Absolute wasm byte offset of that source op, if resolvable.
resolved: boolTrue iff this branch resolves to a covered source condition (br_if /
br_table / if). False = a compiler-introduced object branch —
surfaced not hidden, and carrying origin when its introducing op
family is in the verified classification (#944).
origin: Option<String>#944: machine-readable origin for a compiler-introduced branch
(resolved: false), derived from the source op the branch’s encode-time
line_map entry traces to — never guessed. None for a resolved branch,
and for an introduced branch whose op family is not in the verified map
(declared-unattributed; the gate pins that count). Additive field: absent
on the wire when None, so pre-#944 consumers are unaffected.
note: Option<String>Human note when resolved is false.
Trait Implementations§
Source§impl Clone for ObjectCondBranch
impl Clone for ObjectCondBranch
Source§fn clone(&self) -> ObjectCondBranch
fn clone(&self) -> ObjectCondBranch
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ObjectCondBranch
impl Debug for ObjectCondBranch
Source§impl<'de> Deserialize<'de> for ObjectCondBranch
impl<'de> Deserialize<'de> for ObjectCondBranch
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for ObjectCondBranch
Source§impl PartialEq for ObjectCondBranch
impl PartialEq for ObjectCondBranch
Source§impl Serialize for ObjectCondBranch
impl Serialize for ObjectCondBranch
impl StructuralPartialEq for ObjectCondBranch
Auto Trait Implementations§
impl Freeze for ObjectCondBranch
impl RefUnwindSafe for ObjectCondBranch
impl Send for ObjectCondBranch
impl Sync for ObjectCondBranch
impl Unpin for ObjectCondBranch
impl UnsafeUnpin for ObjectCondBranch
impl UnwindSafe for ObjectCondBranch
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.