MCPcopy Create free account
hub / github.com/Whiley/WhileyCompiler / top

Method top

src/main/java/wyil/check/FlowTypeUtils.java:935–937  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

933 }
934
935 public int top() {
936 return nVariables - 1;
937 }
938
939 public int[] top(int n) {
940 return ArrayUtils.range(nVariables - n, nVariables);

Callers 15

pushCastMethod · 0.95
pullArrayUpdateMethod · 0.95
pullDereferenceMethod · 0.95
pullIndirectInvokeMethod · 0.95
pullRecordUpdateMethod · 0.95
pushExpressionMethod · 0.80
pushExpressionsMethod · 0.80
pushArrayAccessMethod · 0.80
pushDereferenceMethod · 0.80
pushEqualityOperatorMethod · 0.80
pushFieldDereferenceMethod · 0.80
pushIndirectInvokeMethod · 0.80

Calls 1

rangeMethod · 0.95

Tested by

no test coverage detected