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

Method bitTest

gapil/bapi/decode.go:350–358  ·  view source on GitHub ↗
(bitTestID uint64)

Source from the content-addressed store, hash-verified

348}
349
350func (d *decoder) bitTest(bitTestID uint64) (out *semantic.BitTest) {
351 d.build(d.content.Instances.BitTest, &d.inst.BitTest, bitTestID, &out,
352 func(p *BitTest, s *semantic.BitTest) {
353 s.AST = d.astBinaryOp(p.Ast)
354 s.Bitfield = d.expr(p.Bitfield)
355 s.Bits = d.expr(p.Bits)
356 })
357 return
358}
359
360func (d *decoder) branch(branchID uint64) (out *semantic.Branch) {
361 d.build(d.content.Instances.Branch, &d.inst.Branch, branchID, &out,

Callers 2

exprMethod · 0.95
nodeMethod · 0.95

Calls 3

buildMethod · 0.95
astBinaryOpMethod · 0.95
exprMethod · 0.95

Tested by

no test coverage detected