Skip to content

Commit

Permalink
8186478: [JVMCI] rename HotSpotResolvedJavaMethod#setNotInlineableOrC…
Browse files Browse the repository at this point in the history
…ompileable

Reviewed-by: kvn, thartmann
  • Loading branch information
dnsimon committed Nov 6, 2017
1 parent ebe3c89 commit 15c2200
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -224,8 +224,8 @@ public static long getLocalVariableTableStart(HotSpotResolvedJavaMethod method)
return CTVM.getLocalVariableTableStart((HotSpotResolvedJavaMethodImpl)method);
}

public static void setNotInlineableOrCompileable(HotSpotResolvedJavaMethod method) {
CTVM.setNotInlineableOrCompileable((HotSpotResolvedJavaMethodImpl)method);
public static void setNotInlinableOrCompilable(HotSpotResolvedJavaMethod method) {
CTVM.setNotInlinableOrCompilable((HotSpotResolvedJavaMethodImpl)method);
}

public static void reprofile(HotSpotResolvedJavaMethod method) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,10 @@ private static void runSanityTest(Executable aMethod) {
boolean hasNeverInlineDirective = CompilerToVMHelper.hasNeverInlineDirective(method);
Asserts.assertFalse(hasNeverInlineDirective, "Unexpected initial " +
"value of property 'hasNeverInlineDirective'");
CompilerToVMHelper.setNotInlineableOrCompileable(method);
CompilerToVMHelper.setNotInlinableOrCompilable(method);
hasNeverInlineDirective = CompilerToVMHelper.hasNeverInlineDirective(method);
Asserts.assertTrue(hasNeverInlineDirective, aMethod
+ " : hasNeverInlineDirective is false even after setNotInlineableOrCompileable'");
+ " : hasNeverInlineDirective is false even after setNotInlinableOrCompilable'");
}

private static List<Executable> createTestCases() {
Expand Down

0 comments on commit 15c2200

Please sign in to comment.