MCPcopy Create free account
hub / github.com/google/gapid / SetConstant

Method SetConstant

core/codegen/module.go:333–336  ·  view source on GitHub ↗

SetConstant makes this global constant.

(constant bool)

Source from the content-addressed store, hash-verified

331
332// SetConstant makes this global constant.
333func (g Global) SetConstant(constant bool) Global {
334 g.llvm.SetGlobalConstant(constant)
335 return g
336}
337
338// ZeroGlobal returns a zero-initialized new global variable with the specified
339// name and type.

Callers 1

buildModuleMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected