Skip to content

Instantly share code, notes, and snippets.

@huitseeker
Created September 20, 2025 00:29
Show Gist options
  • Save huitseeker/55e3878ec31781cce589201638bbc624 to your computer and use it in GitHub Desktop.
Save huitseeker/55e3878ec31781cce589201638bbc624 to your computer and use it in GitHub Desktop.
---
source: assembly/src/tests.rs
expression: program.mast_forest()
---
MastForest {
nodes: [
Block(
BasicBlockNode {
op_batches: [
OpBatch {
ops: [
Noop,
],
indptr: [
0,
1,
0,
0,
0,
0,
0,
0,
0,
],
padding: [
false,
false,
false,
false,
false,
false,
false,
false,
],
groups: [
0,
0,
0,
0,
0,
0,
0,
0,
],
num_groups: 1,
},
],
digest: Word(
[
8635338869442206704,
11671305615285950885,
15253023094703789604,
7398108415970215319,
],
),
decorators: [],
},
),
Block(
BasicBlockNode {
op_batches: [
OpBatch {
ops: [
Push(
4,
),
FmpUpdate,
Push(
18446744069414584317,
),
FmpAdd,
Push(
18446744069414584317,
),
FmpAdd,
Push(
18446744069414584317,
),
FmpAdd,
Noop,
Drop,
Drop,
Drop,
Drop,
Push(
18446744069414584317,
),
FmpUpdate,
Noop,
],
indptr: [
0,
9,
9,
9,
9,
9,
15,
15,
16,
],
padding: [
false,
false,
false,
false,
false,
false,
false,
true,
],
groups: [
3778152553175003,
4,
18446744069414584317,
18446744069414584317,
18446744069414584317,
1639421990057,
18446744069414584317,
0,
],
num_groups: 8,
},
],
digest: Word(
[
16858368813752727632,
17715304191637726361,
10529096673059218084,
10324864871971286732,
],
),
decorators: [],
},
),
],
roots: [
MastNodeId(
0,
),
MastNodeId(
1,
),
],
decorators: [],
advice_map: AdviceMap(
{},
),
error_codes: {},
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment