- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for newAssignStmt (0.28 sec)
-
src/cmd/compile/internal/pkginit/initAsanGlobals.go
init.Append(typecheck.Stmt(ir.NewAssignStmt(base.Pos, asanFilename, filename))) c = tconv(typecheck.NodAddr(asanFilename), types.Types[types.TUNSAFEPTR]) c = tconv(c, types.NewPtr(defStringstruct)) c = ir.NewSelectorExpr(base.Pos, ir.ODOT, c, lname("data")) init.Append(typecheck.Stmt(ir.NewAssignStmt(base.Pos, ir.NewSelectorExpr(base.Pos, ir.ODOT, asanLi, lname("filename")), c)))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 17 19:36:24 UTC 2023 - 8.7K bytes - Viewed (0) -
src/cmd/compile/internal/walk/select.go
var init []ir.Node // generate sel-struct base.Pos = sellineno selv := typecheck.TempAt(base.Pos, ir.CurFunc, types.NewArray(scasetype(), int64(ncas))) init = append(init, typecheck.Stmt(ir.NewAssignStmt(base.Pos, selv, nil))) // No initialization for order; runtime.selectgo is responsible for that. order := typecheck.TempAt(base.Pos, ir.CurFunc, types.NewArray(types.Types[types.TUINT16], 2*int64(ncas)))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 22 01:53:41 UTC 2023 - 7.8K bytes - Viewed (0) -
src/cmd/compile/internal/walk/temp.go
func initStackTemp(init *ir.Nodes, tmp *ir.Name, val ir.Node) *ir.AddrExpr { if val != nil && !types.Identical(tmp.Type(), val.Type()) { base.Fatalf("bad initial value for %L: %L", tmp, val) } appendWalkStmt(init, ir.NewAssignStmt(base.Pos, tmp, val)) return typecheck.Expr(typecheck.NodAddr(tmp)).(*ir.AddrExpr) } // stackTempAddr returns the expression &tmp, where tmp is a newly // allocated temporary variable of the given type. Statements to
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 09 16:41:23 UTC 2024 - 1.5K bytes - Viewed (0) -
src/cmd/compile/internal/coverage/cover.go
callx := typecheck.Call(pos, fn, []ir.Node{mdauspx, lenx, hashx, pkPathNode, pkIdNode, cmodeNode, cgranNode}, false) assign := callx if pkid == coverage.NotHardCoded { assign = typecheck.Stmt(ir.NewAssignStmt(pos, cnames.PkgIdVar, callx)) } // Tack the call onto the start of our init function. We do this // early in the init since it's possible that instrumented function
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 29 21:55:46 UTC 2024 - 6K bytes - Viewed (0)