Lines Matching refs:modules
542 let modules = store.debug_all_modules(); in all_instances_and_modules_in_store() localVariable
544 assert_eq!(modules.len(), 2); in all_instances_and_modules_in_store()
546 (Module::same(&modules[0], &m1) && Module::same(&modules[1], &m2)) in all_instances_and_modules_in_store()
547 || (Module::same(&modules[1], &m1) && Module::same(&modules[0], &m2)) in all_instances_and_modules_in_store()
1215 let modules = store.debug_all_modules(); in component_bytecode() localVariable
1216 assert_eq!(modules.len(), 2); in component_bytecode()
1220 assert_eq!(modules[0].debug_bytecode().unwrap(), &m1_wasm[..]); in component_bytecode()
1221 assert_eq!(modules[1].debug_bytecode().unwrap(), &m2_wasm[..]); in component_bytecode()
1570 let modules = store.debug_all_modules(); in component_module_relative_breakpoint_pcs() localVariable
1571 assert_eq!(modules.len(), 2); in component_module_relative_breakpoint_pcs()
1606 .add_breakpoint(&modules[0], breakpoint_pc)?; in component_module_relative_breakpoint_pcs()
1610 .add_breakpoint(&modules[1], breakpoint_pc)?; in component_module_relative_breakpoint_pcs()