Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/WebAssembly/wabt
/ GetFirstModule
Method
GetFirstModule
src/ir.cc:574–576 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
572
}
573
574
const Module* Script::GetFirstModule() const {
575
return const_cast<Script*>(this)->GetFirstModule();
576
}
577
578
Module* Script::GetFirstModule() {
579
for (const std::unique_ptr<Command>& command : commands) {
Callers
1
ProgramMain
Function · 0.80
Calls
1
get
Method · 0.45
Tested by
no test coverage detected