MCPcopy
hub / github.com/tinygo-org/tinygo / TestCreateStackSizeLoads

Function TestCreateStackSizeLoads

transform/stacksize_test.go:11–22  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

9)
10
11func TestCreateStackSizeLoads(t *testing.T) {
12 t.Parallel()
13 testTransform(t, "testdata/stacksize", func(mod llvm.Module) {
14 // Run optimization pass.
15 transform.CreateStackSizeLoads(mod, &compileopts.Config{
16 Options: &compileopts.Options{},
17 Target: &compileopts.TargetSpec{
18 DefaultStackSize: 1024,
19 },
20 })
21 })
22}

Callers

nothing calls this directly

Calls 3

CreateStackSizeLoadsFunction · 0.92
testTransformFunction · 0.85
ParallelMethod · 0.80

Tested by

no test coverage detected