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

Method OnRefNullExpr

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

Source from the content-addressed store, hash-verified

1486}
1487
1488Result BinaryReaderInterp::OnRefNullExpr(Type type) {
1489 CHECK_RESULT(validator_.OnRefNull(GetLocation(), Var(type, GetLocation())));
1490 istream_.Emit(Opcode::RefNull);
1491 return Result::Ok;
1492}
1493
1494Result BinaryReaderInterp::OnRefIsNullExpr() {
1495 CHECK_RESULT(validator_.OnRefIsNull(GetLocation()));

Callers

nothing calls this directly

Calls 3

OnRefNullMethod · 0.80
EmitMethod · 0.80
VarClass · 0.50

Tested by

no test coverage detected