Move jump tables to the DataFlowGraph (#5745)
Move the storage for jump tables off of FunctionStencil and onto DataFlowGraph. This change is in service of #5731, making it easier to access the jump table data in the context of helpers like inst_values.
This commit is contained in:
@@ -82,7 +82,7 @@ pub trait FuncWriter {
|
||||
}
|
||||
}
|
||||
|
||||
for (jt, jt_data) in &func.jump_tables {
|
||||
for (jt, jt_data) in &func.stencil.dfg.jump_tables {
|
||||
any = true;
|
||||
self.write_entity_definition(w, func, jt.into(), jt_data)?;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user