MCPcopy Create free account
hub / github.com/SeaOfNodes/Simple / and

Method and

chapter21/src/main/java/com/seaofnodes/simple/codegen/LRG.java:203–209  ·  view source on GitHub ↗
( RegMask mask )

Source from the content-addressed store, hash-verified

201
202
203 // Record intersection of all register masks.
204 // True if still has registers
205 boolean and( RegMask mask ) {
206 RegMask mask2 = mask.and(_mask);
207 if( mask2==null )
208 mask2 = _mask.copy().and(mask);
209 _mask = mask2;
210 return !_mask.isEmpty();
211 }
212 // Remove this singular register

Callers 5

putIntoRegClassMethod · 0.45
coalesceMethod · 0.45
runMethod · 0.45
defLRGMethod · 0.45
_unionMethod · 0.45

Calls 2

copyMethod · 0.65
isEmptyMethod · 0.45

Tested by

no test coverage detected