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

Method peep

chapter17/src/main/java/com/seaofnodes/simple/Parser.java:1161–1164  ·  view source on GitHub ↗
( Node n )

Source from the content-addressed store, hash-verified

1159 public static Node con( long con ) { return con(TypeInteger.constant(con)); }
1160 public static ConstantNode con( Type t ) { return (ConstantNode)new ConstantNode(t).peephole(); }
1161 public Node peep( Node n ) {
1162 // Peephole, then improve with lexically scoped guards
1163 return _scope.upcastGuard(n.peephole());
1164 }
1165
1166 //////////////////////////////////
1167 // Utilities for lexical analysis

Callers 13

parseTrinaryMethod · 0.95
liftExprMethod · 0.95
widenIntMethod · 0.95
parseBitwiseMethod · 0.95
parseComparisonMethod · 0.95
parseShiftMethod · 0.95
parseAdditionMethod · 0.95
parseMultiplicationMethod · 0.95
parseUnaryMethod · 0.95
parsePrimaryMethod · 0.95
newArrayMethod · 0.95
parsePostfixMethod · 0.95

Calls 2

upcastGuardMethod · 0.45
peepholeMethod · 0.45

Tested by

no test coverage detected