diff --git a/substratevm/src/com.oracle.svm.core/src/com/oracle/svm/core/graal/snippets/SubstrateAllocationSnippets.java b/substratevm/src/com.oracle.svm.core/src/com/oracle/svm/core/graal/snippets/SubstrateAllocationSnippets.java index 26db52976e1b..c8f676cf2a4a 100644 --- a/substratevm/src/com.oracle.svm.core/src/com/oracle/svm/core/graal/snippets/SubstrateAllocationSnippets.java +++ b/substratevm/src/com.oracle.svm.core/src/com/oracle/svm/core/graal/snippets/SubstrateAllocationSnippets.java @@ -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);