Skip to content

Commit aa81037

Browse files
committed
fix typo
1 parent 423292f commit aa81037

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

compiler/src/jdk.graal.compiler/src/jdk/graal/compiler/truffle/PartialEvaluator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ public void doGraphPE(TruffleTierContext context, InlineInvokePlugin inlineInvok
434434
new TruffleSourceLanguagePositionProvider(context.task),
435435
graphCache, getCreateCachedGraphScope());
436436

437-
if (TruffleCompilerOptions.maximumGraalGraphSiteEnabled(context.compilerOptions)) {
437+
if (TruffleCompilerOptions.maximumGraalGraphSizeEnabled(context.compilerOptions)) {
438438
GraphSizeListener listener = new GraphSizeListener(context.compilerOptions, context.graph);
439439
try (Graph.NodeEventScope ignored = context.graph.trackNodeEvents(listener)) {
440440
assert !context.graph.isSubstitution();

compiler/src/jdk.graal.compiler/src/jdk/graal/compiler/truffle/TruffleCompilerOptions.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ public static String validateOption(String key, String uncheckedValue) {
407407
}
408408
}
409409

410-
public static boolean maximumGraalGraphSiteEnabled(OptionValues options) {
410+
public static boolean maximumGraalGraphSizeEnabled(OptionValues options) {
411411
int val = MaximumGraalGraphSize.getValue(options);
412412
return val > 0;
413413
}

0 commit comments

Comments
 (0)