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

Method peep

chapter21/src/main/java/com/seaofnodes/simple/Parser.java:1451–1454  ·  view source on GitHub ↗
( Node n )

Source from the content-addressed store, hash-verified

1449 public static Node con( long con ) { return con==0 ? ZERO : con(TypeInteger.constant(con)); }
1450 public static ConstantNode con( Type t ) { return (ConstantNode)new ConstantNode(t).peephole(); }
1451 public Node peep( Node n ) {
1452 // Peephole, then improve with lexically scoped guards
1453 return _scope.upcastGuard(n.peephole());
1454 }
1455
1456 //////////////////////////////////
1457 // Utilities for lexical analysis

Callers 15

parseFunctionBodyMethod · 0.95
parseTrinaryMethod · 0.95
liftExprMethod · 0.95
widenIntMethod · 0.95
parseDeclarationMethod · 0.95
parseBitwiseMethod · 0.95
parseComparisonMethod · 0.95
parseShiftMethod · 0.95
parseAdditionMethod · 0.95
parseMultiplicationMethod · 0.95
parseUnaryMethod · 0.95
opAssignMethod · 0.95

Calls 2

upcastGuardMethod · 0.45
peepholeMethod · 0.45

Tested by

no test coverage detected