Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/WebAssembly/wabt
/ ToMutability
Function
ToMutability
src/interp/binary-reader-interp.cc:37–39 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
35
}
36
37
Mutability ToMutability(bool mut) {
38
return mut ? Mutability::Var : Mutability::Const;
39
}
40
41
SegmentMode ToSegmentMode(uint8_t flags) {
42
if ((flags & SegDeclared) == SegDeclared) {
Callers
2
OnImportGlobal
Method · 0.85
BeginGlobal
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected