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

Function generateDirectAccessCode

codeGeneration.go:266–295  ·  view source on GitHub ↗

We don't know where we were before and what expression needs to be indexed. All we care about, is that the array pointer is in rax and the resulting value will also be in rax!

(directAccess []DirectAccess, asm *ASM, s *SymbolTable)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

generateCodeMethod · 0.85
generateCodeMethod · 0.85
generateCodeMethod · 0.85

Calls 4

getRegisterFunction · 0.85
getReturnRegisterFunction · 0.85
addLineMethod · 0.80
generateCodeMethod · 0.65

Tested by

no test coverage detected