Skip to content

Commit a1c3cf7

Browse files
author
Michael Haas
committed
Only add bind boolean for direct calls.
1 parent dd7df48 commit a1c3cf7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/hotspot/HotSpotCompiledCodeStream.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -757,7 +757,9 @@ private void writeSites(HotSpotCompiledCode code) {
757757
ResolvedJavaMethod method = (ResolvedJavaMethod) target;
758758
writeMethod("target", method);
759759
writeBoolean("direct", call.direct);
760-
writeBoolean("bind", call.bind);
760+
if (call.direct) {
761+
writeBoolean("bind", call.bind);
762+
}
761763
writeDebugInfo(debugInfo, true);
762764
}
763765
} else if (site instanceof Infopoint) {

0 commit comments

Comments
 (0)