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

Method GetInlineVector

include/wabt/type.h:191–213  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

189 }
190
191 TypeVector GetInlineVector() const {
192 assert(!IsIndex());
193 switch (enum_) {
194 case Type::Void:
195 return TypeVector();
196
197 case Type::I32:
198 case Type::I64:
199 case Type::F32:
200 case Type::F64:
201 case Type::V128:
202 case Type::FuncRef:
203 case Type::ExnRef:
204 case Type::ExternRef:
205 case Type::Reference:
206 case Type::Ref:
207 case Type::RefNull:
208 return TypeVector(this, this + 1);
209
210 default:
211 WABT_UNREACHABLE;
212 }
213 }
214
215 static bool EnumIsReferenceWithIndex(Enum value) {
216 return value == Type::Reference || value == Type::Ref ||

Callers 2

SetBlockDeclarationMethod · 0.80
CheckBlockSignatureMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected