Skip to content

Commit

Permalink
Add isNullRestricted field to TypeLayoutEntry
Browse files Browse the repository at this point in the history
Related to: eclipse-openj9/openj9#18170

Signed-off-by: Annabelle Huo <Annabelle.Huo@ibm.com>
  • Loading branch information
a7ehuo authored and midronij committed Oct 26, 2023
1 parent 68defdf commit 6879ded
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions compiler/env/TypeLayout.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,15 @@ class TypeLayoutEntry
bool isVolatile = false,
bool isPrivate = false,
bool isFinal = false,
bool isFieldNullRestricted = false,
const char* typeSignature = NULL)
: _datatype(datatype),
_offset(offset),
_fieldname(fieldname),
_isVolatile(isVolatile),
_isPrivate(isPrivate),
_isFinal(isFinal),
_isNullRestricted(isFieldNullRestricted),
_typeSignature(typeSignature)
{}
TR::DataType _datatype;
Expand All @@ -57,6 +59,7 @@ class TypeLayoutEntry
bool _isVolatile;
bool _isPrivate;
bool _isFinal;
bool _isNullRestricted;
const char * _typeSignature;
};

Expand Down

0 comments on commit 6879ded

Please sign in to comment.