Skip to content

Commit

Permalink
missing rename
Browse files Browse the repository at this point in the history
  • Loading branch information
lewurm committed Dec 9, 2024
1 parent 0b36730 commit 0a90dec
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1156,13 +1156,13 @@ public void lower(SubstrateNewDynamicHubNode node, LoweringTool tool) {
int vTableBaseOffset = getArrayBaseOffset(layoutEncoding);
assert vTableBaseOffset == KnownOffsets.singleton().getVTableBaseOffset();

int vTableEntrySize = LayoutEncoding.getArrayIndexShift(layoutEncoding);
assert vTableEntrySize == NumUtil.unsignedLog2(KnownOffsets.singleton().getVTableEntrySize());
int log2VTableEntrySize = LayoutEncoding.getArrayIndexShift(layoutEncoding);
assert log2VTableEntrySize == NumUtil.unsignedLog2(KnownOffsets.singleton().getVTableEntrySize());

Arguments args = new Arguments(allocateDynamicHub, graph.getGuardsStage(), tool.getLoweringStage());
args.add("vTableEntries", vTableEntries);
args.add("vTableBaseOffset", vTableBaseOffset);
args.add("vTableEntrySize", vTableEntrySize);
args.add("log2VTableEntrySize", log2VTableEntrySize);
args.add("profilingData", getProfilingData(node, type));

template(tool, node, args).instantiate(tool.getMetaAccess(), node, SnippetTemplate.DEFAULT_REPLACER, args);
Expand Down

0 comments on commit 0a90dec

Please sign in to comment.