Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for freeBlock (0.08 sec)

  1. src/cmd/compile/internal/ssa/func.go

    	f.Blocks = append(f.Blocks, b)
    	f.invalidateCFG()
    	return b
    }
    
    func (f *Func) freeBlock(b *Block) {
    	if b.Func == nil {
    		f.Fatalf("trying to free an already freed block")
    	}
    	// Clear everything but ID (which we reuse).
    	id := b.ID
    	*b = Block{}
    	b.ID = id
    	b.succstorage[0].b = f.freeBlocks
    	f.freeBlocks = b
    }
    
    // NewValue0 returns a new value in the block with no arguments and zero aux values.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 25.8K bytes
    - Viewed (0)
Back to top