File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed
src/main/java/org/truffleruby Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -98,13 +98,13 @@ public abstract class Layouts {
98
98
// These must appear before the generated layout list so the identifiers have been initialized by the time
99
99
// the layout singletons are created.
100
100
101
- public static final HiddenKey OBJECT_ID_IDENTIFIER = new HiddenKey ("object_id" );
102
- public static final HiddenKey TAINTED_IDENTIFIER = new HiddenKey ("tainted?" );
103
- public static final HiddenKey FROZEN_IDENTIFIER = new HiddenKey ("frozen?" );
104
- public static final HiddenKey ASSOCIATED_IDENTIFIER = new HiddenKey ("associated" );
105
- public static final HiddenKey FINALIZER_REF_IDENTIFIER = new HiddenKey ("finalizerRef" );
106
- public static final HiddenKey MARKED_OBJECTS_IDENTIFIER = new HiddenKey ("marked_objects" );
107
- public static final HiddenKey VALUE_WRAPPER_IDENTIFIER = new HiddenKey ("value_wrapper" );
101
+ public static final HiddenKey OBJECT_ID_IDENTIFIER = new HiddenKey ("object_id" ); // long
102
+ public static final HiddenKey TAINTED_IDENTIFIER = new HiddenKey ("tainted?" ); // boolean
103
+ public static final HiddenKey FROZEN_IDENTIFIER = new HiddenKey ("frozen?" ); // boolean
104
+ public static final HiddenKey ASSOCIATED_IDENTIFIER = new HiddenKey ("associated" ); // Pointer[]
105
+ public static final HiddenKey FINALIZER_REF_IDENTIFIER = new HiddenKey ("finalizerRef" ); // FinalizerReference
106
+ public static final HiddenKey MARKED_OBJECTS_IDENTIFIER = new HiddenKey ("marked_objects" ); // Object[]
107
+ public static final HiddenKey VALUE_WRAPPER_IDENTIFIER = new HiddenKey ("value_wrapper" ); // ValueWrapper
108
108
109
109
// Generated layouts
110
110
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ public Object execute(VirtualFrame frame) {
44
44
frame .setInt (FormatFrameDescriptor .SOURCE_LENGTH_SLOT , (int ) arguments [1 ]);
45
45
frame .setInt (FormatFrameDescriptor .SOURCE_POSITION_SLOT , 0 );
46
46
frame .setBoolean (FormatFrameDescriptor .SOURCE_TAINTED_SLOT , (boolean ) arguments [2 ]);
47
- frame .setObject (FormatFrameDescriptor .SOURCE_ASSOCIATED_SLOT , frame . getArguments () [3 ]);
47
+ frame .setObject (FormatFrameDescriptor .SOURCE_ASSOCIATED_SLOT , arguments [3 ]);
48
48
frame .setObject (FormatFrameDescriptor .OUTPUT_SLOT , new Object [expectedLength ]);
49
49
frame .setInt (FormatFrameDescriptor .OUTPUT_POSITION_SLOT , 0 );
50
50
frame .setBoolean (FormatFrameDescriptor .TAINT_SLOT , false );
You can’t perform that action at this time.
0 commit comments