| ... | ... | @@ -481,166 +481,185 @@ fn genBody(self: *Self, body: []const Air.Inst.Index) InnerError!void { |
| 481 | 481 | try self.ensureProcessDeathCapacity(Liveness.bpi); |
| 482 | 482 | |
| 483 | 483 | switch (air_tags[inst]) { |
| 484 | | .arg => @panic("TODO implement arg"), |
| 485 | | .add => @panic("TODO implement add"), |
| 486 | | .addwrap => @panic("TODO implement addwrap"), |
| 487 | | .add_sat => @panic("TODO implement add_sat"), |
| 488 | | .sub => @panic("TODO implement sub"), |
| 489 | | .subwrap => @panic("TODO implement subwrap"), |
| 490 | | .sub_sat => @panic("TODO implement sub_sat"), |
| 491 | | .mul => @panic("TODO implement mul"), |
| 492 | | .mulwrap => @panic("TODO implement mulwrap"), |
| 493 | | .mul_sat => @panic("TODO implement mul_sat"), |
| 494 | | .div_float => @panic("TODO implement div_float"), |
| 495 | | .div_trunc => @panic("TODO implement div_trunc"), |
| 496 | | .div_floor => @panic("TODO implement div_floor"), |
| 497 | | .div_exact => @panic("TODO implement div_exact"), |
| 498 | | .rem => @panic("TODO implement rem"), |
| 499 | | .mod => @panic("TODO implement mod"), |
| 500 | | .ptr_add => @panic("TODO implement ptr_add"), |
| 501 | | .ptr_sub => @panic("TODO implement ptr_sub"), |
| 502 | | .max => @panic("TODO implement max"), |
| 503 | | .min => @panic("TODO implement min"), |
| 504 | | .add_with_overflow => @panic("TODO implement add_with_overflow"), |
| 505 | | .sub_with_overflow => @panic("TODO implement sub_with_overflow"), |
| 506 | | .mul_with_overflow => @panic("TODO implement mul_with_overflow"), |
| 507 | | .shl_with_overflow => @panic("TODO implement shl_with_overflow"), |
| 508 | | .alloc => @panic("TODO implement alloc"), |
| 509 | | .ret_ptr => @panic("TODO implement ret_ptr"), |
| 510 | | .assembly => @panic("TODO implement assembly"), |
| 511 | | .bit_and => @panic("TODO implement bit_and"), |
| 512 | | .bit_or => @panic("TODO implement bit_or"), |
| 513 | | .shr => @panic("TODO implement shr"), |
| 514 | | .shr_exact => @panic("TODO implement shr_exact"), |
| 515 | | .shl => @panic("TODO implement shl"), |
| 516 | | .shl_exact => @panic("TODO implement shl_exact"), |
| 517 | | .shl_sat => @panic("TODO implement shl_sat"), |
| 518 | | .xor => @panic("TODO implement xor"), |
| 519 | | .not => @panic("TODO implement not"), |
| 520 | | .bitcast => @panic("TODO implement bitcast"), |
| 521 | | .block => @panic("TODO implement block"), |
| 522 | | .loop => @panic("TODO implement loop"), |
| 523 | | .br => @panic("TODO implement br"), |
| 524 | | .breakpoint => @panic("TODO implement breakpoint"), |
| 525 | | .ret_addr => @panic("TODO implement ret_addr"), |
| 526 | | .frame_addr => @panic("TODO implement frame_addr"), |
| 527 | | .call => @panic("TODO implement call"), |
| 528 | | .call_always_tail => @panic("TODO implement call_always_tail"), |
| 529 | | .call_never_tail => @panic("TODO implement call_never_tail"), |
| 530 | | .call_never_inline => @panic("TODO implement call_never_inline"), |
| 531 | | .clz => @panic("TODO implement clz"), |
| 532 | | .ctz => @panic("TODO implement ctz"), |
| 533 | | .popcount => @panic("TODO implement popcount"), |
| 534 | | .byte_swap => @panic("TODO implement byte_swap"), |
| 535 | | .bit_reverse => @panic("TODO implement bit_reverse"), |
| 536 | | .sqrt => @panic("TODO implement sqrt"), |
| 537 | | .sin => @panic("TODO implement sin"), |
| 538 | | .cos => @panic("TODO implement cos"), |
| 539 | | .exp => @panic("TODO implement exp"), |
| 540 | | .exp2 => @panic("TODO implement exp2"), |
| 541 | | .log => @panic("TODO implement log"), |
| 542 | | .log2 => @panic("TODO implement log2"), |
| 543 | | .log10 => @panic("TODO implement log10"), |
| 544 | | .fabs => @panic("TODO implement fabs"), |
| 545 | | .floor => @panic("TODO implement floor"), |
| 546 | | .ceil => @panic("TODO implement ceil"), |
| 547 | | .round => @panic("TODO implement round"), |
| 548 | | .trunc_float => @panic("TODO implement trunc_float"), |
| 549 | | .cmp_lt => @panic("TODO implement cmp_lt"), |
| 550 | | .cmp_lte => @panic("TODO implement cmp_lte"), |
| 551 | | .cmp_eq => @panic("TODO implement cmp_eq"), |
| 552 | | .cmp_gte => @panic("TODO implement cmp_gte"), |
| 553 | | .cmp_gt => @panic("TODO implement cmp_gt"), |
| 554 | | .cmp_neq => @panic("TODO implement cmp_neq"), |
| 555 | | .cmp_vector => @panic("TODO implement cmp_vector"), |
| 556 | | .cond_br => @panic("TODO implement cond_br"), |
| 557 | | .switch_br => @panic("TODO implement switch_br"), |
| 558 | | .constant => @panic("TODO implement constant"), |
| 559 | | .const_ty => @panic("TODO implement const_ty"), |
| 560 | | .dbg_stmt => @panic("TODO implement dbg_stmt"), |
| 561 | | .dbg_block_begin => @panic("TODO implement dbg_block_begin"), |
| 562 | | .dbg_block_end => @panic("TODO implement dbg_block_end"), |
| 563 | | .dbg_inline_begin => @panic("TODO implement dbg_inline_begin"), |
| 564 | | .dbg_inline_end => @panic("TODO implement dbg_inline_end"), |
| 565 | | .dbg_var_ptr => @panic("TODO implement dbg_var_ptr"), |
| 566 | | .dbg_var_val => @panic("TODO implement dbg_var_val"), |
| 567 | | .is_null => @panic("TODO implement is_null"), |
| 568 | | .is_non_null => @panic("TODO implement is_non_null"), |
| 569 | | .is_null_ptr => @panic("TODO implement is_null_ptr"), |
| 570 | | .is_non_null_ptr => @panic("TODO implement is_non_null_ptr"), |
| 571 | | .is_err => @panic("TODO implement is_err"), |
| 572 | | .is_non_err => @panic("TODO implement is_non_err"), |
| 573 | | .is_err_ptr => @panic("TODO implement is_err_ptr"), |
| 574 | | .is_non_err_ptr => @panic("TODO implement is_non_err_ptr"), |
| 575 | | .bool_and => @panic("TODO implement bool_and"), |
| 576 | | .bool_or => @panic("TODO implement bool_or"), |
| 577 | | .load => @panic("TODO implement load"), |
| 578 | | .ptrtoint => @panic("TODO implement ptrtoint"), |
| 579 | | .bool_to_int => @panic("TODO implement bool_to_int"), |
| 580 | | .ret => @panic("TODO implement ret"), |
| 581 | | .ret_load => @panic("TODO implement ret_load"), |
| 582 | | .store => @panic("TODO implement store"), |
| 583 | | .unreach => @panic("TODO implement unreach"), |
| 584 | | .fptrunc => @panic("TODO implement fptrunc"), |
| 585 | | .fpext => @panic("TODO implement fpext"), |
| 586 | | .intcast => @panic("TODO implement intcast"), |
| 587 | | .trunc => @panic("TODO implement trunc"), |
| 588 | | .optional_payload => @panic("TODO implement optional_payload"), |
| 589 | | .optional_payload_ptr => @panic("TODO implement optional_payload_ptr"), |
| 590 | | .optional_payload_ptr_set => @panic("TODO implement optional_payload_ptr_set"), |
| 591 | | .wrap_optional => @panic("TODO implement wrap_optional"), |
| 592 | | .unwrap_errunion_payload => @panic("TODO implement unwrap_errunion_payload"), |
| 593 | | .unwrap_errunion_err => @panic("TODO implement unwrap_errunion_err"), |
| 594 | | .unwrap_errunion_payload_ptr => @panic("TODO implement unwrap_errunion_payload_ptr"), |
| 595 | | .unwrap_errunion_err_ptr => @panic("TODO implement unwrap_errunion_err_ptr"), |
| 596 | | .errunion_payload_ptr_set => @panic("TODO implement errunion_payload_ptr_set"), |
| 597 | | .wrap_errunion_payload => @panic("TODO implement wrap_errunion_payload"), |
| 598 | | .wrap_errunion_err => @panic("TODO implement wrap_errunion_err"), |
| 599 | | .struct_field_ptr => @panic("TODO implement struct_field_ptr"), |
| 600 | | .struct_field_ptr_index_0 => @panic("TODO implement struct_field_ptr_index_0"), |
| 601 | | .struct_field_ptr_index_1 => @panic("TODO implement struct_field_ptr_index_1"), |
| 602 | | .struct_field_ptr_index_2 => @panic("TODO implement struct_field_ptr_index_2"), |
| 603 | | .struct_field_ptr_index_3 => @panic("TODO implement struct_field_ptr_index_3"), |
| 604 | | .struct_field_val => @panic("TODO implement struct_field_val"), |
| 605 | | .set_union_tag => @panic("TODO implement set_union_tag"), |
| 606 | | .get_union_tag => @panic("TODO implement get_union_tag"), |
| 607 | | .slice => @panic("TODO implement slice"), |
| 608 | | .slice_len => @panic("TODO implement slice_len"), |
| 609 | | .slice_ptr => @panic("TODO implement slice_ptr"), |
| 610 | | .ptr_slice_len_ptr => @panic("TODO implement ptr_slice_len_ptr"), |
| 611 | | .ptr_slice_ptr_ptr => @panic("TODO implement ptr_slice_ptr_ptr"), |
| 612 | | .array_elem_val => @panic("TODO implement array_elem_val"), |
| 613 | | .slice_elem_val => @panic("TODO implement slice_elem_val"), |
| 614 | | .slice_elem_ptr => @panic("TODO implement slice_elem_ptr"), |
| 615 | | .ptr_elem_val => @panic("TODO implement ptr_elem_val"), |
| 616 | | .ptr_elem_ptr => @panic("TODO implement ptr_elem_ptr"), |
| 617 | | .array_to_slice => @panic("TODO implement array_to_slice"), |
| 618 | | .float_to_int => @panic("TODO implement float_to_int"), |
| 619 | | .int_to_float => @panic("TODO implement int_to_float"), |
| 620 | | .reduce => @panic("TODO implement reduce"), |
| 621 | | .splat => @panic("TODO implement splat"), |
| 622 | | .shuffle => @panic("TODO implement shuffle"), |
| 623 | | .select => @panic("TODO implement select"), |
| 624 | | .memset => @panic("TODO implement memset"), |
| 625 | | .memcpy => @panic("TODO implement memcpy"), |
| 626 | | .cmpxchg_weak => @panic("TODO implement cmpxchg_weak"), |
| 627 | | .cmpxchg_strong => @panic("TODO implement cmpxchg_strong"), |
| 628 | | .fence => @panic("TODO implement fence"), |
| 629 | | .atomic_load => @panic("TODO implement atomic_load"), |
| 630 | | .atomic_store_unordered => @panic("TODO implement atomic_store_unordered"), |
| 631 | | .atomic_store_monotonic => @panic("TODO implement atomic_store_monotonic"), |
| 632 | | .atomic_store_release => @panic("TODO implement atomic_store_release"), |
| 633 | | .atomic_store_seq_cst => @panic("TODO implement atomic_store_seq_cst"), |
| 634 | | .atomic_rmw => @panic("TODO implement atomic_rmw"), |
| 635 | | .tag_name => @panic("TODO implement tag_name"), |
| 636 | | .error_name => @panic("TODO implement error_name"), |
| 637 | | .aggregate_init => @panic("TODO implement aggregate_init"), |
| 638 | | .union_init => @panic("TODO implement union_init"), |
| 639 | | .prefetch => @panic("TODO implement prefetch"), |
| 640 | | .mul_add => @panic("TODO implement mul_add"), |
| 641 | | .field_parent_ptr => @panic("TODO implement field_parent_ptr"), |
| 642 | | |
| 643 | | .wasm_memory_size, .wasm_memory_grow => unreachable, |
| 484 | // zig fmt: off |
| 485 | .add, .ptr_add => @panic("TODO try self.airBinOp(inst)"), |
| 486 | .addwrap => @panic("TODO try self.airAddWrap(inst)"), |
| 487 | .add_sat => @panic("TODO try self.airAddSat(inst)"), |
| 488 | .sub, .ptr_sub => @panic("TODO try self.airBinOp(inst)"), |
| 489 | .subwrap => @panic("TODO try self.airSubWrap(inst)"), |
| 490 | .sub_sat => @panic("TODO try self.airSubSat(inst)"), |
| 491 | .mul => @panic("TODO try self.airMul(inst)"), |
| 492 | .mulwrap => @panic("TODO try self.airMulWrap(inst)"), |
| 493 | .mul_sat => @panic("TODO try self.airMulSat(inst)"), |
| 494 | .rem => @panic("TODO try self.airRem(inst)"), |
| 495 | .mod => @panic("TODO try self.airMod(inst)"), |
| 496 | .shl, .shl_exact => @panic("TODO try self.airShl(inst)"), |
| 497 | .shl_sat => @panic("TODO try self.airShlSat(inst)"), |
| 498 | .min => @panic("TODO try self.airMin(inst)"), |
| 499 | .max => @panic("TODO try self.airMax(inst)"), |
| 500 | .slice => @panic("TODO try self.airSlice(inst)"), |
| 501 | |
| 502 | .sqrt, |
| 503 | .sin, |
| 504 | .cos, |
| 505 | .exp, |
| 506 | .exp2, |
| 507 | .log, |
| 508 | .log2, |
| 509 | .log10, |
| 510 | .fabs, |
| 511 | .floor, |
| 512 | .ceil, |
| 513 | .round, |
| 514 | .trunc_float, |
| 515 | => @panic("TODO try self.airUnaryMath(inst)"), |
| 516 | |
| 517 | .add_with_overflow => @panic("TODO try self.airAddWithOverflow(inst)"), |
| 518 | .sub_with_overflow => @panic("TODO try self.airSubWithOverflow(inst)"), |
| 519 | .mul_with_overflow => @panic("TODO try self.airMulWithOverflow(inst)"), |
| 520 | .shl_with_overflow => @panic("TODO try self.airShlWithOverflow(inst)"), |
| 521 | |
| 522 | .div_float, .div_trunc, .div_floor, .div_exact => @panic("TODO try self.airDiv(inst)"), |
| 523 | |
| 524 | .cmp_lt => @panic("TODO try self.airCmp(inst, .lt)"), |
| 525 | .cmp_lte => @panic("TODO try self.airCmp(inst, .lte)"), |
| 526 | .cmp_eq => @panic("TODO try self.airCmp(inst, .eq)"), |
| 527 | .cmp_gte => @panic("TODO try self.airCmp(inst, .gte)"), |
| 528 | .cmp_gt => @panic("TODO try self.airCmp(inst, .gt)"), |
| 529 | .cmp_neq => @panic("TODO try self.airCmp(inst, .neq)"), |
| 530 | .cmp_vector => @panic("TODO try self.airCmpVector(inst)"), |
| 531 | |
| 532 | .bool_and => @panic("TODO try self.airBoolOp(inst)"), |
| 533 | .bool_or => @panic("TODO try self.airBoolOp(inst)"), |
| 534 | .bit_and => @panic("TODO try self.airBitAnd(inst)"), |
| 535 | .bit_or => @panic("TODO try self.airBitOr(inst)"), |
| 536 | .xor => @panic("TODO try self.airXor(inst)"), |
| 537 | .shr, .shr_exact => @panic("TODO try self.airShr(inst)"), |
| 538 | |
| 539 | .alloc => @panic("TODO try self.airAlloc(inst)"), |
| 540 | .ret_ptr => @panic("TODO try self.airRetPtr(inst)"), |
| 541 | .arg => @panic("TODO try self.airArg(inst)"), |
| 542 | .assembly => @panic("TODO try self.airAsm(inst)"), |
| 543 | .bitcast => @panic("TODO try self.airBitCast(inst)"), |
| 544 | .block => @panic("TODO try self.airBlock(inst)"), |
| 545 | .br => @panic("TODO try self.airBr(inst)"), |
| 546 | .breakpoint => @panic("TODO try self.airBreakpoint()"), |
| 547 | .ret_addr => @panic("TODO try self.airRetAddr(inst)"), |
| 548 | .frame_addr => @panic("TODO try self.airFrameAddress(inst)"), |
| 549 | .fence => @panic("TODO try self.airFence()"), |
| 550 | .cond_br => @panic("TODO try self.airCondBr(inst)"), |
| 551 | .dbg_stmt => @panic("TODO try self.airDbgStmt(inst)"), |
| 552 | .fptrunc => @panic("TODO try self.airFptrunc(inst)"), |
| 553 | .fpext => @panic("TODO try self.airFpext(inst)"), |
| 554 | .intcast => @panic("TODO try self.airIntCast(inst)"), |
| 555 | .trunc => @panic("TODO try self.airTrunc(inst)"), |
| 556 | .bool_to_int => @panic("TODO try self.airBoolToInt(inst)"), |
| 557 | .is_non_null => @panic("TODO try self.airIsNonNull(inst)"), |
| 558 | .is_non_null_ptr => @panic("TODO try self.airIsNonNullPtr(inst)"), |
| 559 | .is_null => @panic("TODO try self.airIsNull(inst)"), |
| 560 | .is_null_ptr => @panic("TODO try self.airIsNullPtr(inst)"), |
| 561 | .is_non_err => @panic("TODO try self.airIsNonErr(inst)"), |
| 562 | .is_non_err_ptr => @panic("TODO try self.airIsNonErrPtr(inst)"), |
| 563 | .is_err => @panic("TODO try self.airIsErr(inst)"), |
| 564 | .is_err_ptr => @panic("TODO try self.airIsErrPtr(inst)"), |
| 565 | .load => @panic("TODO try self.airLoad(inst)"), |
| 566 | .loop => @panic("TODO try self.airLoop(inst)"), |
| 567 | .not => @panic("TODO try self.airNot(inst)"), |
| 568 | .ptrtoint => @panic("TODO try self.airPtrToInt(inst)"), |
| 569 | .ret => @panic("TODO try self.airRet(inst)"), |
| 570 | .ret_load => @panic("TODO try self.airRetLoad(inst)"), |
| 571 | .store => @panic("TODO try self.airStore(inst)"), |
| 572 | .struct_field_ptr=> @panic("TODO try self.airStructFieldPtr(inst)"), |
| 573 | .struct_field_val=> @panic("TODO try self.airStructFieldVal(inst)"), |
| 574 | .array_to_slice => @panic("TODO try self.airArrayToSlice(inst)"), |
| 575 | .int_to_float => @panic("TODO try self.airIntToFloat(inst)"), |
| 576 | .float_to_int => @panic("TODO try self.airFloatToInt(inst)"), |
| 577 | .cmpxchg_strong => @panic("TODO try self.airCmpxchg(inst)"), |
| 578 | .cmpxchg_weak => @panic("TODO try self.airCmpxchg(inst)"), |
| 579 | .atomic_rmw => @panic("TODO try self.airAtomicRmw(inst)"), |
| 580 | .atomic_load => @panic("TODO try self.airAtomicLoad(inst)"), |
| 581 | .memcpy => @panic("TODO try self.airMemcpy(inst)"), |
| 582 | .memset => @panic("TODO try self.airMemset(inst)"), |
| 583 | .set_union_tag => @panic("TODO try self.airSetUnionTag(inst)"), |
| 584 | .get_union_tag => @panic("TODO try self.airGetUnionTag(inst)"), |
| 585 | .clz => @panic("TODO try self.airClz(inst)"), |
| 586 | .ctz => @panic("TODO try self.airCtz(inst)"), |
| 587 | .popcount => @panic("TODO try self.airPopcount(inst)"), |
| 588 | .byte_swap => @panic("TODO try self.airByteSwap(inst)"), |
| 589 | .bit_reverse => @panic("TODO try self.airBitReverse(inst)"), |
| 590 | .tag_name => @panic("TODO try self.airTagName(inst)"), |
| 591 | .error_name => @panic("TODO try self.airErrorName(inst)"), |
| 592 | .splat => @panic("TODO try self.airSplat(inst)"), |
| 593 | .select => @panic("TODO try self.airSelect(inst)"), |
| 594 | .shuffle => @panic("TODO try self.airShuffle(inst)"), |
| 595 | .reduce => @panic("TODO try self.airReduce(inst)"), |
| 596 | .aggregate_init => @panic("TODO try self.airAggregateInit(inst)"), |
| 597 | .union_init => @panic("TODO try self.airUnionInit(inst)"), |
| 598 | .prefetch => @panic("TODO try self.airPrefetch(inst)"), |
| 599 | .mul_add => @panic("TODO try self.airMulAdd(inst)"), |
| 600 | |
| 601 | .dbg_var_ptr, |
| 602 | .dbg_var_val, |
| 603 | => @panic("TODO try self.airDbgVar(inst)"), |
| 604 | |
| 605 | .dbg_inline_begin, |
| 606 | .dbg_inline_end, |
| 607 | => @panic("TODO try self.airDbgInline(inst)"), |
| 608 | |
| 609 | .dbg_block_begin, |
| 610 | .dbg_block_end, |
| 611 | => @panic("TODO try self.airDbgBlock(inst)"), |
| 612 | |
| 613 | .call => @panic("TODO try self.airCall(inst, .auto)"), |
| 614 | .call_always_tail => @panic("TODO try self.airCall(inst, .always_tail)"), |
| 615 | .call_never_tail => @panic("TODO try self.airCall(inst, .never_tail)"), |
| 616 | .call_never_inline => @panic("TODO try self.airCall(inst, .never_inline)"), |
| 617 | |
| 618 | .atomic_store_unordered => @panic("TODO try self.airAtomicStore(inst, .Unordered)"), |
| 619 | .atomic_store_monotonic => @panic("TODO try self.airAtomicStore(inst, .Monotonic)"), |
| 620 | .atomic_store_release => @panic("TODO try self.airAtomicStore(inst, .Release)"), |
| 621 | .atomic_store_seq_cst => @panic("TODO try self.airAtomicStore(inst, .SeqCst)"), |
| 622 | |
| 623 | .struct_field_ptr_index_0 => @panic("TODO try self.airStructFieldPtrIndex(inst, 0)"), |
| 624 | .struct_field_ptr_index_1 => @panic("TODO try self.airStructFieldPtrIndex(inst, 1)"), |
| 625 | .struct_field_ptr_index_2 => @panic("TODO try self.airStructFieldPtrIndex(inst, 2)"), |
| 626 | .struct_field_ptr_index_3 => @panic("TODO try self.airStructFieldPtrIndex(inst, 3)"), |
| 627 | |
| 628 | .field_parent_ptr => @panic("TODO try self.airFieldParentPtr(inst)"), |
| 629 | |
| 630 | .switch_br => @panic("TODO try self.airSwitch(inst)"), |
| 631 | .slice_ptr => @panic("TODO try self.airSlicePtr(inst)"), |
| 632 | .slice_len => @panic("TODO try self.airSliceLen(inst)"), |
| 633 | |
| 634 | .ptr_slice_len_ptr => @panic("TODO try self.airPtrSliceLenPtr(inst)"), |
| 635 | .ptr_slice_ptr_ptr => @panic("TODO try self.airPtrSlicePtrPtr(inst)"), |
| 636 | |
| 637 | .array_elem_val => @panic("TODO try self.airArrayElemVal(inst)"), |
| 638 | .slice_elem_val => @panic("TODO try self.airSliceElemVal(inst)"), |
| 639 | .slice_elem_ptr => @panic("TODO try self.airSliceElemPtr(inst)"), |
| 640 | .ptr_elem_val => @panic("TODO try self.airPtrElemVal(inst)"), |
| 641 | .ptr_elem_ptr => @panic("TODO try self.airPtrElemPtr(inst)"), |
| 642 | |
| 643 | .constant => unreachable, // excluded from function bodies |
| 644 | .const_ty => unreachable, // excluded from function bodies |
| 645 | .unreach => @panic("TODO self.finishAirBookkeeping()"), |
| 646 | |
| 647 | .optional_payload => @panic("TODO try self.airOptionalPayload(inst)"), |
| 648 | .optional_payload_ptr => @panic("TODO try self.airOptionalPayloadPtr(inst)"), |
| 649 | .optional_payload_ptr_set => @panic("TODO try self.airOptionalPayloadPtrSet(inst)"), |
| 650 | .unwrap_errunion_err => @panic("TODO try self.airUnwrapErrErr(inst)"), |
| 651 | .unwrap_errunion_payload => @panic("TODO try self.airUnwrapErrPayload(inst)"), |
| 652 | .unwrap_errunion_err_ptr => @panic("TODO try self.airUnwrapErrErrPtr(inst)"), |
| 653 | .unwrap_errunion_payload_ptr=> @panic("TODO try self.airUnwrapErrPayloadPtr(inst)"), |
| 654 | .errunion_payload_ptr_set => @panic("TODO try self.airErrUnionPayloadPtrSet(inst)"), |
| 655 | |
| 656 | .wrap_optional => @panic("TODO try self.airWrapOptional(inst)"), |
| 657 | .wrap_errunion_payload => @panic("TODO try self.airWrapErrUnionPayload(inst)"), |
| 658 | .wrap_errunion_err => @panic("TODO try self.airWrapErrUnionErr(inst)"), |
| 659 | |
| 660 | .wasm_memory_size => unreachable, |
| 661 | .wasm_memory_grow => unreachable, |
| 662 | // zig fmt: on |
| 644 | 663 | } |
| 645 | 664 | |
| 646 | 665 | if (std.debug.runtime_safety) { |