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

Method peekStack

gapis/replay/builder/builder.go:172–177  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

170}
171
172func (b *Builder) peekStack() stackItem {
173 if len(b.stack) == 0 {
174 panic("Stack underflow")
175 }
176 return b.stack[len(b.stack)-1]
177}
178
179func (b *Builder) removeInstruction(at int) {
180 if at == len(b.instructions)-1 {

Callers 1

MapMemoryMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected