Home | History | Annotate | Download | only in wasm

Lines Matching defs:sig

145         if (function_env_->sig->return_count() > 0) {
185 FunctionSig* sig = function_env_->sig;
186 int param_count = static_cast<int>(sig->parameter_count());
199 ssa_env->locals[pos++] = builder_->Param(i, sig->GetParam(i));
312 FunctionSig* sig = WasmOpcodes::Signature(opcode);
313 if (sig) {
315 Shift(sig->GetReturn(), static_cast<uint32_t>(sig->parameter_count()));
431 int count = static_cast<int>(function_env_->sig->return_count());
550 FunctionSig* sig = FunctionSigOperand(pc_, &unused, &len);
551 if (sig) {
553 sig->return_count() == 0 ? kAstStmt : sig->GetReturn();
554 Shift(type, static_cast<int>(sig->parameter_count()));
562 FunctionSig* sig = SigOperand(pc_, &unused, &len);
563 if (sig) {
565 sig->return_count() == 0 ? kAstStmt : sig->GetReturn();
566 Shift(type, static_cast<int>(1 + sig->parameter_count()));
608 int retcount = static_cast<int>(function_env_->sig->return_count());
627 LocalType expected = function_env_->sig->GetReturn(index);
652 FunctionSig* sig = WasmOpcodes::Signature(opcode);
653 if (sig) {
655 TypeCheckLast(p, sig->GetParam(p->index - 1));
657 if (sig->parameter_count() == 2) {
660 } else if (sig->parameter_count() == 1) {
886 TypeCheckLast(p, function_env_->sig->GetReturn(p->index - 1));
990 FunctionSig* sig = FunctionSigOperand(p->pc(), &index, &len);
991 if (!sig) break;
993 TypeCheckLast(p, sig->GetParam(p->index - 1));
998 FunctionSig* sig = FunctionSigOperand(p->pc(), &index, &len);
999 USE(sig);
1011 FunctionSig* sig = SigOperand(p->pc(), &index, &len);
1015 TypeCheckLast(p, sig->GetParam(p->index - 2));
1476 #define DECLARE_OPCODE_CASE(name, opcode, sig) case kExpr##name:
1562 return static_cast<int>(env->sig->return_count());
1568 #define DECLARE_OPCODE_CASE(name, opcode, sig) \
1570 return kArity_##sig;