Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/WebAssembly/wabt
/ GetLocalCount
Method
GetLocalCount
src/shared-validator.cc:590–592 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
588
}
589
590
Index SharedValidator::GetLocalCount() const {
591
return locals_.empty() ? 0 : locals_.back().end;
592
}
593
594
static bool is_power_of_two(uint32_t x) {
595
return x && ((x & (x - 1)) == 0);
Callers
3
GetReturnDropKeepCount
Method · 0.80
GetReturnCallDropKeepCount
Method · 0.80
TranslateLocalIndex
Method · 0.80
Calls
2
back
Method · 0.80
empty
Method · 0.45
Tested by
no test coverage detected