class com.oracle.truffle.object.CoreAllocator extends com.oracle.truffle.object.ShapeImpl$BaseAllocator
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: com.oracle.truffle.object.CoreAllocator
  super_class: com.oracle.truffle.object.ShapeImpl$BaseAllocator
{
  static final boolean $assertionsDisabled;
    descriptor: Z
    flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 64
            ldc Lcom/oracle/truffle/object/CoreAllocator;
            invokevirtual java.lang.Class.desiredAssertionStatus:()Z
            ifne 1
            iconst_1
            goto 2
      StackMap locals:
      StackMap stack:
         1: iconst_0
      StackMap locals:
      StackMap stack: int
         2: putstatic com.oracle.truffle.object.CoreAllocator.$assertionsDisabled:Z
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  void <init>(com.oracle.truffle.object.LayoutImpl);
    descriptor: (Lcom/oracle/truffle/object/LayoutImpl;)V
    flags: (0x0000) 
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // com.oracle.truffle.object.CoreAllocator this
        start local 1 // com.oracle.truffle.object.LayoutImpl layout
         0: .line 67
            aload 0 /* this */
            aload 1 /* layout */
            invokespecial com.oracle.truffle.object.ShapeImpl$BaseAllocator.<init>:(Lcom/oracle/truffle/object/LayoutImpl;)V
         1: .line 68
            aload 0 /* this */
            aload 1 /* layout */
            invokevirtual com.oracle.truffle.object.LayoutImpl.getPrimitiveArrayLocation:()Lcom/oracle/truffle/api/object/Location;
            invokevirtual com.oracle.truffle.object.CoreAllocator.advance:(Lcom/oracle/truffle/api/object/Location;)Lcom/oracle/truffle/api/object/Location;
            pop
         2: .line 69
            return
        end local 1 // com.oracle.truffle.object.LayoutImpl layout
        end local 0 // com.oracle.truffle.object.CoreAllocator this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    3     0    this  Lcom/oracle/truffle/object/CoreAllocator;
            0    3     1  layout  Lcom/oracle/truffle/object/LayoutImpl;
    MethodParameters:
        Name  Flags
      layout  

  void <init>(com.oracle.truffle.object.ShapeImpl);
    descriptor: (Lcom/oracle/truffle/object/ShapeImpl;)V
    flags: (0x0000) 
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // com.oracle.truffle.object.CoreAllocator this
        start local 1 // com.oracle.truffle.object.ShapeImpl shape
         0: .line 72
            aload 0 /* this */
            aload 1 /* shape */
            invokespecial com.oracle.truffle.object.ShapeImpl$BaseAllocator.<init>:(Lcom/oracle/truffle/object/ShapeImpl;)V
         1: .line 73
            return
        end local 1 // com.oracle.truffle.object.ShapeImpl shape
        end local 0 // com.oracle.truffle.object.CoreAllocator this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    2     0   this  Lcom/oracle/truffle/object/CoreAllocator;
            0    2     1  shape  Lcom/oracle/truffle/object/ShapeImpl;
    MethodParameters:
       Name  Flags
      shape  

  private com.oracle.truffle.object.DefaultLayout getLayout();
    descriptor: ()Lcom/oracle/truffle/object/DefaultLayout;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.oracle.truffle.object.CoreAllocator this
         0: .line 76
            aload 0 /* this */
            getfield com.oracle.truffle.object.CoreAllocator.layout:Lcom/oracle/truffle/object/LayoutImpl;
            checkcast com.oracle.truffle.object.DefaultLayout
            areturn
        end local 0 // com.oracle.truffle.object.CoreAllocator this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/oracle/truffle/object/CoreAllocator;

  public com.oracle.truffle.object.CoreLocation constantLocation(java.lang.Object);
    descriptor: (Ljava/lang/Object;)Lcom/oracle/truffle/object/CoreLocation;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // com.oracle.truffle.object.CoreAllocator this
        start local 1 // java.lang.Object value
         0: .line 81
            new com.oracle.truffle.object.CoreLocations$ConstantLocation
            dup
            aload 1 /* value */
            invokespecial com.oracle.truffle.object.CoreLocations$ConstantLocation.<init>:(Ljava/lang/Object;)V
            areturn
        end local 1 // java.lang.Object value
        end local 0 // com.oracle.truffle.object.CoreAllocator this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    1     0   this  Lcom/oracle/truffle/object/CoreAllocator;
            0    1     1  value  Ljava/lang/Object;
    MethodParameters:
       Name  Flags
      value  

  public com.oracle.truffle.object.CoreLocation declaredLocation(java.lang.Object);
    descriptor: (Ljava/lang/Object;)Lcom/oracle/truffle/object/CoreLocation;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // com.oracle.truffle.object.CoreAllocator this
        start local 1 // java.lang.Object value
         0: .line 86
            new com.oracle.truffle.object.CoreLocations$DeclaredLocation
            dup
            aload 1 /* value */
            invokespecial com.oracle.truffle.object.CoreLocations$DeclaredLocation.<init>:(Ljava/lang/Object;)V
            areturn
        end local 1 // java.lang.Object value
        end local 0 // com.oracle.truffle.object.CoreAllocator this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    1     0   this  Lcom/oracle/truffle/object/CoreAllocator;
            0    1     1  value  Ljava/lang/Object;
    MethodParameters:
       Name  Flags
      value  

  protected com.oracle.truffle.api.object.Location moveLocation(com.oracle.truffle.api.object.Location);
    descriptor: (Lcom/oracle/truffle/api/object/Location;)Lcom/oracle/truffle/api/object/Location;
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // com.oracle.truffle.object.CoreAllocator this
        start local 1 // com.oracle.truffle.api.object.Location oldLocation
         0: .line 91
            aload 1 /* oldLocation */
            instanceof com.oracle.truffle.object.CoreLocations$LongLocation
            ifeq 2
         1: .line 92
            aload 0 /* this */
            aload 1 /* oldLocation */
            invokevirtual com.oracle.truffle.api.object.Location.isFinal:()Z
            aload 1 /* oldLocation */
            checkcast com.oracle.truffle.object.CoreLocations$LongLocation
            invokeinterface com.oracle.truffle.object.CoreLocations$LongLocation.isImplicitCastIntToLong:()Z
            invokevirtual com.oracle.truffle.object.CoreAllocator.newLongLocation:(ZZ)Lcom/oracle/truffle/api/object/Location;
            areturn
         2: .line 93
      StackMap locals:
      StackMap stack:
            aload 1 /* oldLocation */
            instanceof com.oracle.truffle.object.CoreLocations$IntLocation
            ifeq 4
         3: .line 94
            aload 0 /* this */
            aload 1 /* oldLocation */
            invokevirtual com.oracle.truffle.api.object.Location.isFinal:()Z
            invokevirtual com.oracle.truffle.object.CoreAllocator.newIntLocation:(Z)Lcom/oracle/truffle/api/object/Location;
            areturn
         4: .line 95
      StackMap locals:
      StackMap stack:
            aload 1 /* oldLocation */
            instanceof com.oracle.truffle.object.CoreLocations$DoubleLocation
            ifeq 6
         5: .line 96
            aload 0 /* this */
            aload 1 /* oldLocation */
            invokevirtual com.oracle.truffle.api.object.Location.isFinal:()Z
            aload 1 /* oldLocation */
            checkcast com.oracle.truffle.object.CoreLocations$DoubleLocation
            invokeinterface com.oracle.truffle.object.CoreLocations$DoubleLocation.isImplicitCastIntToDouble:()Z
            invokevirtual com.oracle.truffle.object.CoreAllocator.newDoubleLocation:(ZZ)Lcom/oracle/truffle/api/object/Location;
            areturn
         6: .line 97
      StackMap locals:
      StackMap stack:
            aload 1 /* oldLocation */
            instanceof com.oracle.truffle.object.CoreLocations$BooleanLocation
            ifeq 8
         7: .line 98
            aload 0 /* this */
            aload 1 /* oldLocation */
            invokevirtual com.oracle.truffle.api.object.Location.isFinal:()Z
            invokevirtual com.oracle.truffle.object.CoreAllocator.newBooleanLocation:(Z)Lcom/oracle/truffle/api/object/Location;
            areturn
         8: .line 99
      StackMap locals:
      StackMap stack:
            aload 1 /* oldLocation */
            instanceof com.oracle.truffle.object.CoreLocations$ObjectLocation
            ifeq 10
         9: .line 100
            aload 0 /* this */
            aload 1 /* oldLocation */
            invokevirtual com.oracle.truffle.api.object.Location.isFinal:()Z
            aload 1 /* oldLocation */
            checkcast com.oracle.truffle.object.CoreLocations$ObjectLocation
            invokeinterface com.oracle.truffle.object.CoreLocations$ObjectLocation.isNonNull:()Z
            invokevirtual com.oracle.truffle.object.CoreAllocator.newObjectLocation:(ZZ)Lcom/oracle/truffle/api/object/Location;
            areturn
        10: .line 102
      StackMap locals:
      StackMap stack:
            getstatic com.oracle.truffle.object.CoreAllocator.$assertionsDisabled:Z
            ifne 11
            aload 1 /* oldLocation */
            instanceof com.oracle.truffle.object.CoreLocations$ValueLocation
            ifne 11
            new java.lang.AssertionError
            dup
            aload 1 /* oldLocation */
            invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
            athrow
        11: .line 103
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* oldLocation */
            invokevirtual com.oracle.truffle.object.CoreAllocator.advance:(Lcom/oracle/truffle/api/object/Location;)Lcom/oracle/truffle/api/object/Location;
            areturn
        end local 1 // com.oracle.truffle.api.object.Location oldLocation
        end local 0 // com.oracle.truffle.object.CoreAllocator this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0   12     0         this  Lcom/oracle/truffle/object/CoreAllocator;
            0   12     1  oldLocation  Lcom/oracle/truffle/api/object/Location;
    MethodParameters:
             Name  Flags
      oldLocation  

  public com.oracle.truffle.api.object.Location newObjectLocation(boolean, boolean);
    descriptor: (ZZ)Lcom/oracle/truffle/api/object/Location;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=4, args_size=3
        start local 0 // com.oracle.truffle.object.CoreAllocator this
        start local 1 // boolean useFinal
        start local 2 // boolean nonNull
         0: .line 109
            getstatic com.oracle.truffle.object.ObjectStorageOptions.InObjectFields:Z
            ifeq 4
         1: .line 110
            aload 0 /* this */
            getfield com.oracle.truffle.object.CoreAllocator.objectFieldSize:I
            istore 3 /* insertPos */
        start local 3 // int insertPos
         2: .line 111
            iload 3 /* insertPos */
            iconst_1
            iadd
            aload 0 /* this */
            invokevirtual com.oracle.truffle.object.CoreAllocator.getLayout:()Lcom/oracle/truffle/object/DefaultLayout;
            invokevirtual com.oracle.truffle.object.DefaultLayout.getObjectFieldCount:()I
            if_icmpgt 4
         3: .line 112
            aload 0 /* this */
            aload 0 /* this */
            invokevirtual com.oracle.truffle.object.CoreAllocator.getLayout:()Lcom/oracle/truffle/object/DefaultLayout;
            iload 3 /* insertPos */
            invokevirtual com.oracle.truffle.object.DefaultLayout.getObjectFieldLocation:(I)Lcom/oracle/truffle/object/CoreLocations$ObjectLocation;
            checkcast com.oracle.truffle.api.object.Location
            invokevirtual com.oracle.truffle.object.CoreAllocator.advance:(Lcom/oracle/truffle/api/object/Location;)Lcom/oracle/truffle/api/object/Location;
            areturn
        end local 3 // int insertPos
         4: .line 115
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            iload 1 /* useFinal */
            iload 2 /* nonNull */
            invokevirtual com.oracle.truffle.object.CoreAllocator.newObjectArrayLocation:(ZZ)Lcom/oracle/truffle/api/object/Location;
            areturn
        end local 2 // boolean nonNull
        end local 1 // boolean useFinal
        end local 0 // com.oracle.truffle.object.CoreAllocator this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    5     0       this  Lcom/oracle/truffle/object/CoreAllocator;
            0    5     1   useFinal  Z
            0    5     2    nonNull  Z
            2    4     3  insertPos  I
    MethodParameters:
          Name  Flags
      useFinal  
      nonNull   

  private com.oracle.truffle.api.object.Location newObjectArrayLocation(boolean, boolean);
    descriptor: (ZZ)Lcom/oracle/truffle/api/object/Location;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=5, locals=3, args_size=3
        start local 0 // com.oracle.truffle.object.CoreAllocator this
        start local 1 // boolean useFinal
        start local 2 // boolean nonNull
         0: .line 120
            aload 0 /* this */
            new com.oracle.truffle.object.CoreLocations$ObjectArrayLocation
            dup
            aload 0 /* this */
            getfield com.oracle.truffle.object.CoreAllocator.objectArraySize:I
            aload 0 /* this */
            invokevirtual com.oracle.truffle.object.CoreAllocator.getLayout:()Lcom/oracle/truffle/object/DefaultLayout;
            invokevirtual com.oracle.truffle.object.DefaultLayout.getObjectArrayLocation:()Lcom/oracle/truffle/object/CoreLocation;
            invokespecial com.oracle.truffle.object.CoreLocations$ObjectArrayLocation.<init>:(ILcom/oracle/truffle/object/CoreLocation;)V
            invokevirtual com.oracle.truffle.object.CoreAllocator.advance:(Lcom/oracle/truffle/api/object/Location;)Lcom/oracle/truffle/api/object/Location;
            areturn
        end local 2 // boolean nonNull
        end local 1 // boolean useFinal
        end local 0 // com.oracle.truffle.object.CoreAllocator this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    1     0      this  Lcom/oracle/truffle/object/CoreAllocator;
            0    1     1  useFinal  Z
            0    1     2   nonNull  Z
    MethodParameters:
          Name  Flags
      useFinal  
      nonNull   

  public com.oracle.truffle.api.object.Location newTypedObjectLocation(boolean, java.lang.Class<?>, boolean);
    descriptor: (ZLjava/lang/Class;Z)Lcom/oracle/truffle/api/object/Location;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=4, args_size=4
        start local 0 // com.oracle.truffle.object.CoreAllocator this
        start local 1 // boolean useFinal
        start local 2 // java.lang.Class type
        start local 3 // boolean nonNull
         0: .line 125
            aload 0 /* this */
            iload 1 /* useFinal */
            iload 3 /* nonNull */
            invokevirtual com.oracle.truffle.object.CoreAllocator.newObjectLocation:(ZZ)Lcom/oracle/truffle/api/object/Location;
            areturn
        end local 3 // boolean nonNull
        end local 2 // java.lang.Class type
        end local 1 // boolean useFinal
        end local 0 // com.oracle.truffle.object.CoreAllocator this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    1     0      this  Lcom/oracle/truffle/object/CoreAllocator;
            0    1     1  useFinal  Z
            0    1     2      type  Ljava/lang/Class<*>;
            0    1     3   nonNull  Z
    Signature: (ZLjava/lang/Class<*>;Z)Lcom/oracle/truffle/api/object/Location;
    MethodParameters:
          Name  Flags
      useFinal  
      type      
      nonNull   

  protected com.oracle.truffle.api.object.Location newIntLocation(boolean);
    descriptor: (Z)Lcom/oracle/truffle/api/object/Location;
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=7, locals=2, args_size=2
        start local 0 // com.oracle.truffle.object.CoreAllocator this
        start local 1 // boolean useFinal
         0: .line 130
            getstatic com.oracle.truffle.object.ObjectStorageOptions.PrimitiveLocations:Z
            ifeq 5
            getstatic com.oracle.truffle.object.ObjectStorageOptions.IntegerLocations:Z
            ifeq 5
         1: .line 131
            getstatic com.oracle.truffle.object.ObjectStorageOptions.InObjectFields:Z
            ifeq 3
            aload 0 /* this */
            getfield com.oracle.truffle.object.CoreAllocator.primitiveFieldSize:I
            aload 0 /* this */
            invokevirtual com.oracle.truffle.object.CoreAllocator.getLayout:()Lcom/oracle/truffle/object/DefaultLayout;
            invokevirtual com.oracle.truffle.object.DefaultLayout.getLongFieldSize:()I
            iadd
            aload 0 /* this */
            invokevirtual com.oracle.truffle.object.CoreAllocator.getLayout:()Lcom/oracle/truffle/object/DefaultLayout;
            invokevirtual com.oracle.truffle.object.DefaultLayout.getPrimitiveFieldCount:()I
            if_icmpgt 3
         2: .line 132
            aload 0 /* this */
            new com.oracle.truffle.object.CoreLocations$IntLocationDecorator
            dup
            aload 0 /* this */
            invokevirtual com.oracle.truffle.object.CoreAllocator.getLayout:()Lcom/oracle/truffle/object/DefaultLayout;
            aload 0 /* this */
            getfield com.oracle.truffle.object.CoreAllocator.primitiveFieldSize:I
            invokevirtual com.oracle.truffle.object.DefaultLayout.getPrimitiveFieldLocation:(I)Lcom/oracle/truffle/object/CoreLocations$LongLocation;
            invokespecial com.oracle.truffle.object.CoreLocations$IntLocationDecorator.<init>:(Lcom/oracle/truffle/object/CoreLocations$LongLocation;)V
            invokevirtual com.oracle.truffle.object.CoreAllocator.advance:(Lcom/oracle/truffle/api/object/Location;)Lcom/oracle/truffle/api/object/Location;
            areturn
         3: .line 133
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual com.oracle.truffle.object.CoreAllocator.getLayout:()Lcom/oracle/truffle/object/DefaultLayout;
            invokevirtual com.oracle.truffle.object.DefaultLayout.hasPrimitiveExtensionArray:()Z
            ifeq 5
            aload 0 /* this */
            invokevirtual com.oracle.truffle.object.CoreAllocator.isPrimitiveExtensionArrayAvailable:()Z
            ifeq 5
         4: .line 134
            aload 0 /* this */
            new com.oracle.truffle.object.CoreLocations$IntLocationDecorator
            dup
            new com.oracle.truffle.object.CoreLocations$LongArrayLocation
            dup
            aload 0 /* this */
            getfield com.oracle.truffle.object.CoreAllocator.primitiveArraySize:I
            aload 0 /* this */
            invokevirtual com.oracle.truffle.object.CoreAllocator.getLayout:()Lcom/oracle/truffle/object/DefaultLayout;
            invokevirtual com.oracle.truffle.object.DefaultLayout.getPrimitiveArrayLocation:()Lcom/oracle/truffle/object/CoreLocation;
            invokespecial com.oracle.truffle.object.CoreLocations$LongArrayLocation.<init>:(ILcom/oracle/truffle/object/CoreLocation;)V
            invokespecial com.oracle.truffle.object.CoreLocations$IntLocationDecorator.<init>:(Lcom/oracle/truffle/object/CoreLocations$LongLocation;)V
            invokevirtual com.oracle.truffle.object.CoreAllocator.advance:(Lcom/oracle/truffle/api/object/Location;)Lcom/oracle/truffle/api/object/Location;
            areturn
         5: .line 137
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            iload 1 /* useFinal */
            iconst_1
            invokevirtual com.oracle.truffle.object.CoreAllocator.newObjectLocation:(ZZ)Lcom/oracle/truffle/api/object/Location;
            areturn
        end local 1 // boolean useFinal
        end local 0 // com.oracle.truffle.object.CoreAllocator this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    6     0      this  Lcom/oracle/truffle/object/CoreAllocator;
            0    6     1  useFinal  Z
    MethodParameters:
          Name  Flags
      useFinal  

  public com.oracle.truffle.api.object.Location newDoubleLocation(boolean);
    descriptor: (Z)Lcom/oracle/truffle/api/object/Location;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // com.oracle.truffle.object.CoreAllocator this
        start local 1 // boolean useFinal
         0: .line 142
            aload 0 /* this */
            iload 1 /* useFinal */
            aload 0 /* this */
            invokevirtual com.oracle.truffle.object.CoreAllocator.getLayout:()Lcom/oracle/truffle/object/DefaultLayout;
            invokevirtual com.oracle.truffle.object.DefaultLayout.isAllowedIntToDouble:()Z
            invokevirtual com.oracle.truffle.object.CoreAllocator.newDoubleLocation:(ZZ)Lcom/oracle/truffle/api/object/Location;
            areturn
        end local 1 // boolean useFinal
        end local 0 // com.oracle.truffle.object.CoreAllocator this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    1     0      this  Lcom/oracle/truffle/object/CoreAllocator;
            0    1     1  useFinal  Z
    MethodParameters:
          Name  Flags
      useFinal  

  com.oracle.truffle.api.object.Location newDoubleLocation(boolean, boolean);
    descriptor: (ZZ)Lcom/oracle/truffle/api/object/Location;
    flags: (0x0000) 
    Code:
      stack=7, locals=3, args_size=3
        start local 0 // com.oracle.truffle.object.CoreAllocator this
        start local 1 // boolean useFinal
        start local 2 // boolean allowedIntToDouble
         0: .line 146
            getstatic com.oracle.truffle.object.ObjectStorageOptions.PrimitiveLocations:Z
            ifeq 5
            getstatic com.oracle.truffle.object.ObjectStorageOptions.DoubleLocations:Z
            ifeq 5
         1: .line 147
            getstatic com.oracle.truffle.object.ObjectStorageOptions.InObjectFields:Z
            ifeq 3
            aload 0 /* this */
            getfield com.oracle.truffle.object.CoreAllocator.primitiveFieldSize:I
            aload 0 /* this */
            invokevirtual com.oracle.truffle.object.CoreAllocator.getLayout:()Lcom/oracle/truffle/object/DefaultLayout;
            invokevirtual com.oracle.truffle.object.DefaultLayout.getLongFieldSize:()I
            iadd
            aload 0 /* this */
            invokevirtual com.oracle.truffle.object.CoreAllocator.getLayout:()Lcom/oracle/truffle/object/DefaultLayout;
            invokevirtual com.oracle.truffle.object.DefaultLayout.getPrimitiveFieldCount:()I
            if_icmpgt 3
         2: .line 148
            aload 0 /* this */
            new com.oracle.truffle.object.CoreLocations$DoubleLocationDecorator
            dup
            aload 0 /* this */
            invokevirtual com.oracle.truffle.object.CoreAllocator.getLayout:()Lcom/oracle/truffle/object/DefaultLayout;
            aload 0 /* this */
            getfield com.oracle.truffle.object.CoreAllocator.primitiveFieldSize:I
            invokevirtual com.oracle.truffle.object.DefaultLayout.getPrimitiveFieldLocation:(I)Lcom/oracle/truffle/object/CoreLocations$LongLocation;
            iload 2 /* allowedIntToDouble */
            invokespecial com.oracle.truffle.object.CoreLocations$DoubleLocationDecorator.<init>:(Lcom/oracle/truffle/object/CoreLocations$LongLocation;Z)V
            invokevirtual com.oracle.truffle.object.CoreAllocator.advance:(Lcom/oracle/truffle/api/object/Location;)Lcom/oracle/truffle/api/object/Location;
            areturn
         3: .line 149
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual com.oracle.truffle.object.CoreAllocator.getLayout:()Lcom/oracle/truffle/object/DefaultLayout;
            invokevirtual com.oracle.truffle.object.DefaultLayout.hasPrimitiveExtensionArray:()Z
            ifeq 5
            aload 0 /* this */
            invokevirtual com.oracle.truffle.object.CoreAllocator.isPrimitiveExtensionArrayAvailable:()Z
            ifeq 5
         4: .line 150
            aload 0 /* this */
            new com.oracle.truffle.object.CoreLocations$DoubleLocationDecorator
            dup
            new com.oracle.truffle.object.CoreLocations$LongArrayLocation
            dup
            aload 0 /* this */
            getfield com.oracle.truffle.object.CoreAllocator.primitiveArraySize:I
            aload 0 /* this */
            invokevirtual com.oracle.truffle.object.CoreAllocator.getLayout:()Lcom/oracle/truffle/object/DefaultLayout;
            invokevirtual com.oracle.truffle.object.DefaultLayout.getPrimitiveArrayLocation:()Lcom/oracle/truffle/object/CoreLocation;
            invokespecial com.oracle.truffle.object.CoreLocations$LongArrayLocation.<init>:(ILcom/oracle/truffle/object/CoreLocation;)V
            iload 2 /* allowedIntToDouble */
            invokespecial com.oracle.truffle.object.CoreLocations$DoubleLocationDecorator.<init>:(Lcom/oracle/truffle/object/CoreLocations$LongLocation;Z)V
            invokevirtual com.oracle.truffle.object.CoreAllocator.advance:(Lcom/oracle/truffle/api/object/Location;)Lcom/oracle/truffle/api/object/Location;
            areturn
         5: .line 153
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            iload 1 /* useFinal */
            iconst_1
            invokevirtual com.oracle.truffle.object.CoreAllocator.newObjectLocation:(ZZ)Lcom/oracle/truffle/api/object/Location;
            areturn
        end local 2 // boolean allowedIntToDouble
        end local 1 // boolean useFinal
        end local 0 // com.oracle.truffle.object.CoreAllocator this
      LocalVariableTable:
        Start  End  Slot                Name  Signature
            0    6     0                this  Lcom/oracle/truffle/object/CoreAllocator;
            0    6     1            useFinal  Z
            0    6     2  allowedIntToDouble  Z
    MethodParameters:
                    Name  Flags
      useFinal            
      allowedIntToDouble  

  public com.oracle.truffle.api.object.Location newLongLocation(boolean);
    descriptor: (Z)Lcom/oracle/truffle/api/object/Location;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // com.oracle.truffle.object.CoreAllocator this
        start local 1 // boolean useFinal
         0: .line 158
            aload 0 /* this */
            iload 1 /* useFinal */
            aload 0 /* this */
            invokevirtual com.oracle.truffle.object.CoreAllocator.getLayout:()Lcom/oracle/truffle/object/DefaultLayout;
            invokevirtual com.oracle.truffle.object.DefaultLayout.isAllowedIntToLong:()Z
            invokevirtual com.oracle.truffle.object.CoreAllocator.newLongLocation:(ZZ)Lcom/oracle/truffle/api/object/Location;
            areturn
        end local 1 // boolean useFinal
        end local 0 // com.oracle.truffle.object.CoreAllocator this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    1     0      this  Lcom/oracle/truffle/object/CoreAllocator;
            0    1     1  useFinal  Z
    MethodParameters:
          Name  Flags
      useFinal  

  com.oracle.truffle.api.object.Location newLongLocation(boolean, boolean);
    descriptor: (ZZ)Lcom/oracle/truffle/api/object/Location;
    flags: (0x0000) 
    Code:
      stack=6, locals=3, args_size=3
        start local 0 // com.oracle.truffle.object.CoreAllocator this
        start local 1 // boolean useFinal
        start local 2 // boolean allowedIntToLong
         0: .line 162
            getstatic com.oracle.truffle.object.ObjectStorageOptions.PrimitiveLocations:Z
            ifeq 5
            getstatic com.oracle.truffle.object.ObjectStorageOptions.LongLocations:Z
            ifeq 5
         1: .line 163
            getstatic com.oracle.truffle.object.ObjectStorageOptions.InObjectFields:Z
            ifeq 3
            aload 0 /* this */
            getfield com.oracle.truffle.object.CoreAllocator.primitiveFieldSize:I
            aload 0 /* this */
            invokevirtual com.oracle.truffle.object.CoreAllocator.getLayout:()Lcom/oracle/truffle/object/DefaultLayout;
            invokevirtual com.oracle.truffle.object.DefaultLayout.getLongFieldSize:()I
            iadd
            aload 0 /* this */
            invokevirtual com.oracle.truffle.object.CoreAllocator.getLayout:()Lcom/oracle/truffle/object/DefaultLayout;
            invokevirtual com.oracle.truffle.object.DefaultLayout.getPrimitiveFieldCount:()I
            if_icmpgt 3
         2: .line 164
            aload 0 /* this */
            aload 0 /* this */
            invokevirtual com.oracle.truffle.object.CoreAllocator.getLayout:()Lcom/oracle/truffle/object/DefaultLayout;
            aload 0 /* this */
            getfield com.oracle.truffle.object.CoreAllocator.primitiveFieldSize:I
            invokevirtual com.oracle.truffle.object.DefaultLayout.getPrimitiveFieldLocation:(I)Lcom/oracle/truffle/object/CoreLocations$LongLocation;
            iload 2 /* allowedIntToLong */
            invokestatic com.oracle.truffle.object.CoreLocations.createLongLocation:(Lcom/oracle/truffle/object/CoreLocations$LongLocation;Z)Lcom/oracle/truffle/object/CoreLocations$LongLocation;
            checkcast com.oracle.truffle.api.object.Location
            invokevirtual com.oracle.truffle.object.CoreAllocator.advance:(Lcom/oracle/truffle/api/object/Location;)Lcom/oracle/truffle/api/object/Location;
            areturn
         3: .line 165
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual com.oracle.truffle.object.CoreAllocator.getLayout:()Lcom/oracle/truffle/object/DefaultLayout;
            invokevirtual com.oracle.truffle.object.DefaultLayout.hasPrimitiveExtensionArray:()Z
            ifeq 5
            aload 0 /* this */
            invokevirtual com.oracle.truffle.object.CoreAllocator.isPrimitiveExtensionArrayAvailable:()Z
            ifeq 5
         4: .line 166
            aload 0 /* this */
            new com.oracle.truffle.object.CoreLocations$LongArrayLocation
            dup
            aload 0 /* this */
            getfield com.oracle.truffle.object.CoreAllocator.primitiveArraySize:I
            aload 0 /* this */
            invokevirtual com.oracle.truffle.object.CoreAllocator.getLayout:()Lcom/oracle/truffle/object/DefaultLayout;
            invokevirtual com.oracle.truffle.object.DefaultLayout.getPrimitiveArrayLocation:()Lcom/oracle/truffle/object/CoreLocation;
            iload 2 /* allowedIntToLong */
            invokespecial com.oracle.truffle.object.CoreLocations$LongArrayLocation.<init>:(ILcom/oracle/truffle/object/CoreLocation;Z)V
            invokevirtual com.oracle.truffle.object.CoreAllocator.advance:(Lcom/oracle/truffle/api/object/Location;)Lcom/oracle/truffle/api/object/Location;
            areturn
         5: .line 169
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            iload 1 /* useFinal */
            iconst_1
            invokevirtual com.oracle.truffle.object.CoreAllocator.newObjectLocation:(ZZ)Lcom/oracle/truffle/api/object/Location;
            areturn
        end local 2 // boolean allowedIntToLong
        end local 1 // boolean useFinal
        end local 0 // com.oracle.truffle.object.CoreAllocator this
      LocalVariableTable:
        Start  End  Slot              Name  Signature
            0    6     0              this  Lcom/oracle/truffle/object/CoreAllocator;
            0    6     1          useFinal  Z
            0    6     2  allowedIntToLong  Z
    MethodParameters:
                  Name  Flags
      useFinal          
      allowedIntToLong  

  public com.oracle.truffle.api.object.Location newBooleanLocation(boolean);
    descriptor: (Z)Lcom/oracle/truffle/api/object/Location;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=2, args_size=2
        start local 0 // com.oracle.truffle.object.CoreAllocator this
        start local 1 // boolean useFinal
         0: .line 174
            getstatic com.oracle.truffle.object.ObjectStorageOptions.PrimitiveLocations:Z
            ifeq 3
            getstatic com.oracle.truffle.object.ObjectStorageOptions.BooleanLocations:Z
            ifeq 3
         1: .line 175
            aload 0 /* this */
            getfield com.oracle.truffle.object.CoreAllocator.primitiveFieldSize:I
            aload 0 /* this */
            invokevirtual com.oracle.truffle.object.CoreAllocator.getLayout:()Lcom/oracle/truffle/object/DefaultLayout;
            invokevirtual com.oracle.truffle.object.DefaultLayout.getLongFieldSize:()I
            iadd
            aload 0 /* this */
            invokevirtual com.oracle.truffle.object.CoreAllocator.getLayout:()Lcom/oracle/truffle/object/DefaultLayout;
            invokevirtual com.oracle.truffle.object.DefaultLayout.getPrimitiveFieldCount:()I
            if_icmpgt 3
         2: .line 176
            aload 0 /* this */
            new com.oracle.truffle.object.CoreLocations$BooleanLocationDecorator
            dup
            aload 0 /* this */
            invokevirtual com.oracle.truffle.object.CoreAllocator.getLayout:()Lcom/oracle/truffle/object/DefaultLayout;
            aload 0 /* this */
            getfield com.oracle.truffle.object.CoreAllocator.primitiveFieldSize:I
            invokevirtual com.oracle.truffle.object.DefaultLayout.getPrimitiveFieldLocation:(I)Lcom/oracle/truffle/object/CoreLocations$LongLocation;
            invokespecial com.oracle.truffle.object.CoreLocations$BooleanLocationDecorator.<init>:(Lcom/oracle/truffle/object/CoreLocations$LongLocation;)V
            invokevirtual com.oracle.truffle.object.CoreAllocator.advance:(Lcom/oracle/truffle/api/object/Location;)Lcom/oracle/truffle/api/object/Location;
            areturn
         3: .line 179
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            iload 1 /* useFinal */
            iconst_1
            invokevirtual com.oracle.truffle.object.CoreAllocator.newObjectLocation:(ZZ)Lcom/oracle/truffle/api/object/Location;
            areturn
        end local 1 // boolean useFinal
        end local 0 // com.oracle.truffle.object.CoreAllocator this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    4     0      this  Lcom/oracle/truffle/object/CoreAllocator;
            0    4     1  useFinal  Z
    MethodParameters:
          Name  Flags
      useFinal  

  private boolean isPrimitiveExtensionArrayAvailable();
    descriptor: ()Z
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.oracle.truffle.object.CoreAllocator this
         0: .line 183
            aload 0 /* this */
            getfield com.oracle.truffle.object.CoreAllocator.hasPrimitiveArray:Z
            ireturn
        end local 0 // com.oracle.truffle.object.CoreAllocator this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/oracle/truffle/object/CoreAllocator;

  protected com.oracle.truffle.api.object.Location locationForValue(java.lang.Object, boolean, boolean);
    descriptor: (Ljava/lang/Object;ZZ)Lcom/oracle/truffle/api/object/Location;
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=6, locals=4, args_size=4
        start local 0 // com.oracle.truffle.object.CoreAllocator this
        start local 1 // java.lang.Object value
        start local 2 // boolean useFinal
        start local 3 // boolean nonNull
         0: .line 188
            aload 0 /* this */
            aload 1 /* value */
            iload 2 /* useFinal */
            iload 3 /* nonNull */
            lconst_0
            invokevirtual com.oracle.truffle.object.CoreAllocator.locationForValue:(Ljava/lang/Object;ZZJ)Lcom/oracle/truffle/api/object/Location;
            areturn
        end local 3 // boolean nonNull
        end local 2 // boolean useFinal
        end local 1 // java.lang.Object value
        end local 0 // com.oracle.truffle.object.CoreAllocator this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    1     0      this  Lcom/oracle/truffle/object/CoreAllocator;
            0    1     1     value  Ljava/lang/Object;
            0    1     2  useFinal  Z
            0    1     3   nonNull  Z
    MethodParameters:
          Name  Flags
      value     
      useFinal  
      nonNull   

  com.oracle.truffle.api.object.Location locationForValue(java.lang.Object, boolean, boolean, long);
    descriptor: (Ljava/lang/Object;ZZJ)Lcom/oracle/truffle/api/object/Location;
    flags: (0x0000) 
    Code:
      stack=4, locals=6, args_size=5
        start local 0 // com.oracle.truffle.object.CoreAllocator this
        start local 1 // java.lang.Object value
        start local 2 // boolean useFinal
        start local 3 // boolean nonNull
        start local 4 // long putFlags
         0: .line 193
            aload 1 /* value */
            instanceof java.lang.Integer
            ifeq 2
         1: .line 194
            aload 0 /* this */
            iload 2 /* useFinal */
            invokevirtual com.oracle.truffle.object.CoreAllocator.newIntLocation:(Z)Lcom/oracle/truffle/api/object/Location;
            areturn
         2: .line 195
      StackMap locals:
      StackMap stack:
            aload 1 /* value */
            instanceof java.lang.Double
            ifeq 6
         3: .line 196
            aload 0 /* this */
            iload 2 /* useFinal */
            lload 4 /* putFlags */
            invokestatic com.oracle.truffle.object.Flags.isImplicitCastIntToDouble:(J)Z
            ifne 4
            aload 0 /* this */
            getfield com.oracle.truffle.object.CoreAllocator.layout:Lcom/oracle/truffle/object/LayoutImpl;
            invokevirtual com.oracle.truffle.object.LayoutImpl.isAllowedIntToDouble:()Z
            ifne 4
            iconst_0
            goto 5
      StackMap locals: com.oracle.truffle.object.CoreAllocator java.lang.Object int int long
      StackMap stack: com.oracle.truffle.object.CoreAllocator int
         4: iconst_1
      StackMap locals: com.oracle.truffle.object.CoreAllocator java.lang.Object int int long
      StackMap stack: com.oracle.truffle.object.CoreAllocator int int
         5: invokevirtual com.oracle.truffle.object.CoreAllocator.newDoubleLocation:(ZZ)Lcom/oracle/truffle/api/object/Location;
            areturn
         6: .line 197
      StackMap locals:
      StackMap stack:
            aload 1 /* value */
            instanceof java.lang.Long
            ifeq 10
         7: .line 198
            aload 0 /* this */
            iload 2 /* useFinal */
            lload 4 /* putFlags */
            invokestatic com.oracle.truffle.object.Flags.isImplicitCastIntToLong:(J)Z
            ifne 8
            aload 0 /* this */
            getfield com.oracle.truffle.object.CoreAllocator.layout:Lcom/oracle/truffle/object/LayoutImpl;
            invokevirtual com.oracle.truffle.object.LayoutImpl.isAllowedIntToLong:()Z
            ifne 8
            iconst_0
            goto 9
      StackMap locals: com.oracle.truffle.object.CoreAllocator java.lang.Object int int long
      StackMap stack: com.oracle.truffle.object.CoreAllocator int
         8: iconst_1
      StackMap locals: com.oracle.truffle.object.CoreAllocator java.lang.Object int int long
      StackMap stack: com.oracle.truffle.object.CoreAllocator int int
         9: invokevirtual com.oracle.truffle.object.CoreAllocator.newLongLocation:(ZZ)Lcom/oracle/truffle/api/object/Location;
            areturn
        10: .line 199
      StackMap locals:
      StackMap stack:
            aload 1 /* value */
            instanceof java.lang.Boolean
            ifeq 12
        11: .line 200
            aload 0 /* this */
            iload 2 /* useFinal */
            invokevirtual com.oracle.truffle.object.CoreAllocator.newBooleanLocation:(Z)Lcom/oracle/truffle/api/object/Location;
            areturn
        12: .line 201
      StackMap locals:
      StackMap stack:
            getstatic com.oracle.truffle.object.ObjectStorageOptions.TypedObjectLocations:Z
            ifeq 14
            aload 1 /* value */
            ifnull 14
        13: .line 202
            aload 0 /* this */
            iload 2 /* useFinal */
            aload 1 /* value */
            invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
            iload 3 /* nonNull */
            invokevirtual com.oracle.truffle.object.CoreAllocator.newTypedObjectLocation:(ZLjava/lang/Class;Z)Lcom/oracle/truffle/api/object/Location;
            areturn
        14: .line 204
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            iload 2 /* useFinal */
            iload 3 /* nonNull */
            ifeq 15
            aload 1 /* value */
            ifnull 15
            iconst_1
            goto 16
      StackMap locals: com.oracle.truffle.object.CoreAllocator java.lang.Object int int long
      StackMap stack: com.oracle.truffle.object.CoreAllocator int
        15: iconst_0
      StackMap locals: com.oracle.truffle.object.CoreAllocator java.lang.Object int int long
      StackMap stack: com.oracle.truffle.object.CoreAllocator int int
        16: invokevirtual com.oracle.truffle.object.CoreAllocator.newObjectLocation:(ZZ)Lcom/oracle/truffle/api/object/Location;
            areturn
        end local 4 // long putFlags
        end local 3 // boolean nonNull
        end local 2 // boolean useFinal
        end local 1 // java.lang.Object value
        end local 0 // com.oracle.truffle.object.CoreAllocator this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   17     0      this  Lcom/oracle/truffle/object/CoreAllocator;
            0   17     1     value  Ljava/lang/Object;
            0   17     2  useFinal  Z
            0   17     3   nonNull  Z
            0   17     4  putFlags  J
    MethodParameters:
          Name  Flags
      value     
      useFinal  
      nonNull   
      putFlags  

  protected com.oracle.truffle.api.object.Location locationForType(java.lang.Class<?>, boolean, boolean);
    descriptor: (Ljava/lang/Class;ZZ)Lcom/oracle/truffle/api/object/Location;
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=4, locals=4, args_size=4
        start local 0 // com.oracle.truffle.object.CoreAllocator this
        start local 1 // java.lang.Class type
        start local 2 // boolean useFinal
        start local 3 // boolean nonNull
         0: .line 209
            aload 1 /* type */
            getstatic java.lang.Integer.TYPE:Ljava/lang/Class;
            if_acmpne 2
         1: .line 210
            aload 0 /* this */
            iload 2 /* useFinal */
            invokevirtual com.oracle.truffle.object.CoreAllocator.newIntLocation:(Z)Lcom/oracle/truffle/api/object/Location;
            areturn
         2: .line 211
      StackMap locals:
      StackMap stack:
            aload 1 /* type */
            getstatic java.lang.Double.TYPE:Ljava/lang/Class;
            if_acmpne 4
         3: .line 212
            aload 0 /* this */
            iload 2 /* useFinal */
            invokevirtual com.oracle.truffle.object.CoreAllocator.newDoubleLocation:(Z)Lcom/oracle/truffle/api/object/Location;
            areturn
         4: .line 213
      StackMap locals:
      StackMap stack:
            aload 1 /* type */
            getstatic java.lang.Long.TYPE:Ljava/lang/Class;
            if_acmpne 6
         5: .line 214
            aload 0 /* this */
            iload 2 /* useFinal */
            invokevirtual com.oracle.truffle.object.CoreAllocator.newLongLocation:(Z)Lcom/oracle/truffle/api/object/Location;
            areturn
         6: .line 215
      StackMap locals:
      StackMap stack:
            aload 1 /* type */
            getstatic java.lang.Boolean.TYPE:Ljava/lang/Class;
            if_acmpne 8
         7: .line 216
            aload 0 /* this */
            iload 2 /* useFinal */
            invokevirtual com.oracle.truffle.object.CoreAllocator.newBooleanLocation:(Z)Lcom/oracle/truffle/api/object/Location;
            areturn
         8: .line 217
      StackMap locals:
      StackMap stack:
            getstatic com.oracle.truffle.object.ObjectStorageOptions.TypedObjectLocations:Z
            ifeq 11
            aload 1 /* type */
            ifnull 11
            aload 1 /* type */
            ldc Ljava/lang/Object;
            if_acmpeq 11
         9: .line 218
            getstatic com.oracle.truffle.object.CoreAllocator.$assertionsDisabled:Z
            ifne 10
            aload 1 /* type */
            invokevirtual java.lang.Class.isPrimitive:()Z
            ifeq 10
            new java.lang.AssertionError
            dup
            ldc "unsupported primitive type"
            invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
            athrow
        10: .line 219
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            iload 2 /* useFinal */
            aload 1 /* type */
            iload 3 /* nonNull */
            invokevirtual com.oracle.truffle.object.CoreAllocator.newTypedObjectLocation:(ZLjava/lang/Class;Z)Lcom/oracle/truffle/api/object/Location;
            areturn
        11: .line 221
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            iload 2 /* useFinal */
            iload 3 /* nonNull */
            invokevirtual com.oracle.truffle.object.CoreAllocator.newObjectLocation:(ZZ)Lcom/oracle/truffle/api/object/Location;
            areturn
        end local 3 // boolean nonNull
        end local 2 // boolean useFinal
        end local 1 // java.lang.Class type
        end local 0 // com.oracle.truffle.object.CoreAllocator this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   12     0      this  Lcom/oracle/truffle/object/CoreAllocator;
            0   12     1      type  Ljava/lang/Class<*>;
            0   12     2  useFinal  Z
            0   12     3   nonNull  Z
    Signature: (Ljava/lang/Class<*>;ZZ)Lcom/oracle/truffle/api/object/Location;
    MethodParameters:
          Name  Flags
      type      
      useFinal  
      nonNull   

  protected com.oracle.truffle.api.object.Location locationForValueUpcast(java.lang.Object, com.oracle.truffle.api.object.Location, long);
    descriptor: (Ljava/lang/Object;Lcom/oracle/truffle/api/object/Location;J)Lcom/oracle/truffle/api/object/Location;
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=4, locals=8, args_size=4
        start local 0 // com.oracle.truffle.object.CoreAllocator this
        start local 1 // java.lang.Object value
        start local 2 // com.oracle.truffle.api.object.Location oldLocation
        start local 3 // long putFlags
         0: .line 226
            getstatic com.oracle.truffle.object.CoreAllocator.$assertionsDisabled:Z
            ifne 1
            aload 2 /* oldLocation */
            aload 1 /* value */
            invokevirtual com.oracle.truffle.api.object.Location.canSet:(Ljava/lang/Object;)Z
            ifeq 1
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         1: .line 228
      StackMap locals:
      StackMap stack:
            aload 2 /* oldLocation */
            instanceof com.oracle.truffle.object.CoreLocations$ConstantLocation
            ifeq 3
            lload 3 /* putFlags */
            invokestatic com.oracle.truffle.object.Flags.isConstant:(J)Z
            ifne 2
            aload 0 /* this */
            invokevirtual com.oracle.truffle.object.CoreAllocator.getLayout:()Lcom/oracle/truffle/object/DefaultLayout;
            invokevirtual com.oracle.truffle.object.DefaultLayout.isLegacyLayout:()Z
            ifeq 3
         2: .line 229
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* value */
            invokevirtual com.oracle.truffle.object.CoreAllocator.constantLocation:(Ljava/lang/Object;)Lcom/oracle/truffle/object/CoreLocation;
            areturn
         3: .line 230
      StackMap locals:
      StackMap stack:
            aload 2 /* oldLocation */
            instanceof com.oracle.truffle.object.CoreLocations$ValueLocation
            ifeq 7
         4: .line 231
            aload 0 /* this */
            aload 1 /* value */
            iconst_0
            aload 1 /* value */
            ifnull 5
            iconst_1
            goto 6
      StackMap locals: com.oracle.truffle.object.CoreAllocator java.lang.Object com.oracle.truffle.api.object.Location long
      StackMap stack: com.oracle.truffle.object.CoreAllocator java.lang.Object int
         5: iconst_0
      StackMap locals: com.oracle.truffle.object.CoreAllocator java.lang.Object com.oracle.truffle.api.object.Location long
      StackMap stack: com.oracle.truffle.object.CoreAllocator java.lang.Object int int
         6: invokevirtual com.oracle.truffle.object.CoreAllocator.locationForValue:(Ljava/lang/Object;ZZ)Lcom/oracle/truffle/api/object/Location;
            areturn
         7: .line 232
      StackMap locals:
      StackMap stack:
            aload 2 /* oldLocation */
            instanceof com.oracle.truffle.object.CoreLocations$TypedLocation
            ifeq 23
            aload 2 /* oldLocation */
            checkcast com.oracle.truffle.object.CoreLocations$TypedLocation
            invokeinterface com.oracle.truffle.object.CoreLocations$TypedLocation.getType:()Ljava/lang/Class;
            invokevirtual java.lang.Class.isPrimitive:()Z
            ifeq 23
         8: .line 233
            aload 0 /* this */
            getfield com.oracle.truffle.object.CoreAllocator.shared:Z
            ifne 20
            aload 2 /* oldLocation */
            checkcast com.oracle.truffle.object.CoreLocations$TypedLocation
            invokeinterface com.oracle.truffle.object.CoreLocations$TypedLocation.getType:()Ljava/lang/Class;
            getstatic java.lang.Integer.TYPE:Ljava/lang/Class;
            if_acmpne 20
         9: .line 234
            aload 2 /* oldLocation */
            checkcast com.oracle.truffle.object.CoreLocations$PrimitiveLocationDecorator
            invokevirtual com.oracle.truffle.object.CoreLocations$PrimitiveLocationDecorator.getInternalLongLocation:()Lcom/oracle/truffle/object/CoreLocations$LongLocation;
            astore 5 /* primLocation */
        start local 5 // com.oracle.truffle.object.CoreLocations$LongLocation primLocation
        10: .line 235
            aload 0 /* this */
            getfield com.oracle.truffle.object.CoreAllocator.layout:Lcom/oracle/truffle/object/LayoutImpl;
            invokevirtual com.oracle.truffle.object.LayoutImpl.isAllowedIntToLong:()Z
            ifne 11
            lload 3 /* putFlags */
            invokestatic com.oracle.truffle.object.Flags.isImplicitCastIntToLong:(J)Z
            ifne 11
            iconst_0
            goto 12
      StackMap locals: com.oracle.truffle.object.CoreLocations$LongLocation
      StackMap stack:
        11: iconst_1
      StackMap locals:
      StackMap stack: int
        12: istore 6 /* allowedIntToLong */
        start local 6 // boolean allowedIntToLong
        13: .line 236
            aload 0 /* this */
            getfield com.oracle.truffle.object.CoreAllocator.layout:Lcom/oracle/truffle/object/LayoutImpl;
            invokevirtual com.oracle.truffle.object.LayoutImpl.isAllowedIntToDouble:()Z
            ifne 14
            lload 3 /* putFlags */
            invokestatic com.oracle.truffle.object.Flags.isImplicitCastIntToDouble:(J)Z
            ifne 14
            iconst_0
            goto 15
      StackMap locals: int
      StackMap stack:
        14: iconst_1
      StackMap locals:
      StackMap stack: int
        15: istore 7 /* allowedIntToDouble */
        start local 7 // boolean allowedIntToDouble
        16: .line 237
            iload 6 /* allowedIntToLong */
            ifeq 18
            aload 1 /* value */
            instanceof java.lang.Long
            ifeq 18
        17: .line 238
            new com.oracle.truffle.object.CoreLocations$LongLocationDecorator
            dup
            aload 5 /* primLocation */
            iconst_1
            invokespecial com.oracle.truffle.object.CoreLocations$LongLocationDecorator.<init>:(Lcom/oracle/truffle/object/CoreLocations$LongLocation;Z)V
            areturn
        18: .line 239
      StackMap locals: int
      StackMap stack:
            iload 7 /* allowedIntToDouble */
            ifeq 20
            aload 1 /* value */
            instanceof java.lang.Double
            ifeq 20
        19: .line 240
            new com.oracle.truffle.object.CoreLocations$DoubleLocationDecorator
            dup
            aload 5 /* primLocation */
            iconst_1
            invokespecial com.oracle.truffle.object.CoreLocations$DoubleLocationDecorator.<init>:(Lcom/oracle/truffle/object/CoreLocations$LongLocation;Z)V
            areturn
        end local 7 // boolean allowedIntToDouble
        end local 6 // boolean allowedIntToLong
        end local 5 // com.oracle.truffle.object.CoreLocations$LongLocation primLocation
        20: .line 243
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 2 /* oldLocation */
            invokevirtual com.oracle.truffle.api.object.Location.isFinal:()Z
            aload 1 /* value */
            ifnull 21
            iconst_1
            goto 22
      StackMap locals: com.oracle.truffle.object.CoreAllocator java.lang.Object com.oracle.truffle.api.object.Location long
      StackMap stack: com.oracle.truffle.object.CoreAllocator int
        21: iconst_0
      StackMap locals: com.oracle.truffle.object.CoreAllocator java.lang.Object com.oracle.truffle.api.object.Location long
      StackMap stack: com.oracle.truffle.object.CoreAllocator int int
        22: invokevirtual com.oracle.truffle.object.CoreAllocator.newObjectLocation:(ZZ)Lcom/oracle/truffle/api/object/Location;
            areturn
        23: .line 245
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* value */
            iconst_0
            aload 1 /* value */
            ifnull 24
            iconst_1
            goto 25
      StackMap locals: com.oracle.truffle.object.CoreAllocator java.lang.Object com.oracle.truffle.api.object.Location long
      StackMap stack: com.oracle.truffle.object.CoreAllocator java.lang.Object int
        24: iconst_0
      StackMap locals: com.oracle.truffle.object.CoreAllocator java.lang.Object com.oracle.truffle.api.object.Location long
      StackMap stack: com.oracle.truffle.object.CoreAllocator java.lang.Object int int
        25: invokevirtual com.oracle.truffle.object.CoreAllocator.locationForValue:(Ljava/lang/Object;ZZ)Lcom/oracle/truffle/api/object/Location;
            areturn
        end local 3 // long putFlags
        end local 2 // com.oracle.truffle.api.object.Location oldLocation
        end local 1 // java.lang.Object value
        end local 0 // com.oracle.truffle.object.CoreAllocator this
      LocalVariableTable:
        Start  End  Slot                Name  Signature
            0   26     0                this  Lcom/oracle/truffle/object/CoreAllocator;
            0   26     1               value  Ljava/lang/Object;
            0   26     2         oldLocation  Lcom/oracle/truffle/api/object/Location;
            0   26     3            putFlags  J
           10   20     5        primLocation  Lcom/oracle/truffle/object/CoreLocations$LongLocation;
           13   20     6    allowedIntToLong  Z
           16   20     7  allowedIntToDouble  Z
    MethodParameters:
             Name  Flags
      value        
      oldLocation  
      putFlags     

  public com.oracle.truffle.api.object.Location constantLocation(java.lang.Object);
    descriptor: (Ljava/lang/Object;)Lcom/oracle/truffle/api/object/Location;
    flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
    Code:
      stack=2, locals=2, args_size=2
         0: .line 1
            aload 0
            aload 1
            invokevirtual com.oracle.truffle.object.CoreAllocator.constantLocation:(Ljava/lang/Object;)Lcom/oracle/truffle/object/CoreLocation;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public com.oracle.truffle.api.object.Location declaredLocation(java.lang.Object);
    descriptor: (Ljava/lang/Object;)Lcom/oracle/truffle/api/object/Location;
    flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
    Code:
      stack=2, locals=2, args_size=2
         0: .line 1
            aload 0
            aload 1
            invokevirtual com.oracle.truffle.object.CoreAllocator.declaredLocation:(Ljava/lang/Object;)Lcom/oracle/truffle/object/CoreLocation;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature
}
SourceFile: "CoreAllocator.java"
InnerClasses:
  public abstract BooleanLocation = com.oracle.truffle.object.CoreLocations$BooleanLocation of com.oracle.truffle.object.CoreLocations
  BooleanLocationDecorator = com.oracle.truffle.object.CoreLocations$BooleanLocationDecorator of com.oracle.truffle.object.CoreLocations
  public final ConstantLocation = com.oracle.truffle.object.CoreLocations$ConstantLocation of com.oracle.truffle.object.CoreLocations
  public final DeclaredLocation = com.oracle.truffle.object.CoreLocations$DeclaredLocation of com.oracle.truffle.object.CoreLocations
  public abstract DoubleLocation = com.oracle.truffle.object.CoreLocations$DoubleLocation of com.oracle.truffle.object.CoreLocations
  DoubleLocationDecorator = com.oracle.truffle.object.CoreLocations$DoubleLocationDecorator of com.oracle.truffle.object.CoreLocations
  public abstract IntLocation = com.oracle.truffle.object.CoreLocations$IntLocation of com.oracle.truffle.object.CoreLocations
  IntLocationDecorator = com.oracle.truffle.object.CoreLocations$IntLocationDecorator of com.oracle.truffle.object.CoreLocations
  LongArrayLocation = com.oracle.truffle.object.CoreLocations$LongArrayLocation of com.oracle.truffle.object.CoreLocations
  public abstract LongLocation = com.oracle.truffle.object.CoreLocations$LongLocation of com.oracle.truffle.object.CoreLocations
  LongLocationDecorator = com.oracle.truffle.object.CoreLocations$LongLocationDecorator of com.oracle.truffle.object.CoreLocations
  ObjectArrayLocation = com.oracle.truffle.object.CoreLocations$ObjectArrayLocation of com.oracle.truffle.object.CoreLocations
  public abstract ObjectLocation = com.oracle.truffle.object.CoreLocations$ObjectLocation of com.oracle.truffle.object.CoreLocations
  public abstract PrimitiveLocationDecorator = com.oracle.truffle.object.CoreLocations$PrimitiveLocationDecorator of com.oracle.truffle.object.CoreLocations
  public abstract TypedLocation = com.oracle.truffle.object.CoreLocations$TypedLocation of com.oracle.truffle.object.CoreLocations
  public abstract ValueLocation = com.oracle.truffle.object.CoreLocations$ValueLocation of com.oracle.truffle.object.CoreLocations
  public abstract BaseAllocator = com.oracle.truffle.object.ShapeImpl$BaseAllocator of com.oracle.truffle.object.ShapeImpl