MCPcopy Create free account
hub / github.com/WebAssembly/wabt / OnCallRefExpr

Method OnCallRefExpr

src/interp/binary-reader-interp.cc:1237–1243  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1235}
1236
1237Result BinaryReaderInterp::OnCallRefExpr(Type sig_type) {
1238 CHECK_RESULT(
1239 validator_.OnCallRef(GetLocation(), Var(sig_type, GetLocation())));
1240 assert(sig_type == Type::RefNull);
1241 istream_.Emit(Opcode::CallRef);
1242 return Result::Ok;
1243}
1244
1245Result BinaryReaderInterp::OnReturnCallExpr(Index func_index) {
1246 CHECK_RESULT(

Callers

nothing calls this directly

Calls 3

EmitMethod · 0.80
VarClass · 0.50
OnCallRefMethod · 0.45

Tested by

no test coverage detected