Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for tableIdxs (0.09 sec)

  1. src/cmd/internal/obj/wasm/wasmobj.go

    			}
    			explicitBlockDepth--
    
    		case ARESUMEPOINT:
    			if explicitBlockDepth != 0 {
    				panic("RESUME can only be used on toplevel")
    			}
    			p.As = AEnd
    			for tablePC <= pc {
    				tableIdxs = append(tableIdxs, uint64(numResumePoints))
    				tablePC++
    			}
    			numResumePoints++
    			pc++
    
    		case obj.ACALL:
    			if explicitBlockDepth != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 34.6K bytes
    - Viewed (0)
  2. src/cmd/link/internal/wasm/asm.go

    func writeElementSec(ctxt *ld.Link, numImports, numFns uint64) {
    	sizeOffset := writeSecHeader(ctxt, sectionElement)
    
    	writeUleb128(ctxt.Out, 1) // number of element segments
    
    	writeUleb128(ctxt.Out, 0) // tableidx
    	writeI32Const(ctxt.Out, funcValueOffset)
    	ctxt.Out.WriteByte(0x0b) // end
    
    	writeUleb128(ctxt.Out, numFns) // number of entries
    	for i := uint64(0); i < numFns; i++ {
    		writeUleb128(ctxt.Out, numImports+i)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 16:17:48 UTC 2024
    - 21.9K bytes
    - Viewed (0)
Back to top