Skip to content

Commit

Permalink
Revert changes to PlatformLayouts.java
Browse files Browse the repository at this point in the history
  • Loading branch information
TheRealMDoerr committed Oct 16, 2023
1 parent cba58ed commit 17b300c
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,6 @@ private AArch64() {}
* This class defines layout constants modelling standard primitive types supported by the PPC64 ABI.
*/
public static final class PPC64 {
public static final boolean IS_AIX = System.getProperty("os.name").startsWith("AIX");

private PPC64() {
//just the one
Expand Down Expand Up @@ -245,7 +244,7 @@ private PPC64() {
/**
* The {@code double} native type.
*/
public static final ValueLayout.OfDouble C_DOUBLE = ValueLayout.JAVA_DOUBLE.withByteAlignment(IS_AIX ? 4 : 8);
public static final ValueLayout.OfDouble C_DOUBLE = ValueLayout.JAVA_DOUBLE;

/**
* The {@code T*} native type.
Expand Down

0 comments on commit 17b300c

Please sign in to comment.