Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/WebAssembly/wabt
/ GetDataSegmentIndex
Method
GetDataSegmentIndex
src/ir.cc:167–169 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
165
}
166
167
Index Module::GetDataSegmentIndex(const Var& var) const {
168
return data_segment_bindings.FindIndex(var);
169
}
170
171
Index Module::GetElemSegmentIndex(const Var& var) const {
172
return elem_segment_bindings.FindIndex(var);
Callers
1
WriteExpr
Method · 0.80
Calls
1
FindIndex
Method · 0.45
Tested by
no test coverage detected