MCPcopy Index your code
hub / github.com/MauriceGit/compiler / assignVariableStackOffset

Method assignVariableStackOffset

codeGeneration.go:1170–1189  ·  view source on GitHub ↗

assignVariableStackOffset just makes sure, that every single local variable has a defined stack position for the rest of its scope! If we are within a function that has multiple return values, this offset needs to be one further, as we need this pointer for return values additionally.

(isMultiReturn bool)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

generateCodeMethod · 0.80
generateCodeMethod · 0.80

Calls 4

setVarAsmOffsetMethod · 0.80
getVarMethod · 0.80
getMemCountMethod · 0.80

Tested by

no test coverage detected