Skip to content

Commit

Permalink
[GR-33315] Parse sret attribute.
Browse files Browse the repository at this point in the history
PullRequest: graal/9633
  • Loading branch information
rschatz committed Aug 27, 2021
2 parents 90dcdce + 6f52f77 commit bc349f8
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2017, 2020, Oracle and/or its affiliates.
* Copyright (c) 2017, 2021, Oracle and/or its affiliates.
*
* All rights reserved.
*
Expand Down Expand Up @@ -257,6 +257,9 @@ private void decodeGroupCodeEntry(RecordBuffer buffer) {
if (attr == Attribute.Kind.BYVAL) {
final Type valueType = types.get(buffer.read());
group.addAttribute(new Attribute.KnownTypedAttribute(Attribute.Kind.BYVAL, valueType));
} else if (attr == Attribute.Kind.SRET) {
final Type retType = types.get(buffer.read());
group.addAttribute(new Attribute.KnownTypedAttribute(Attribute.Kind.SRET, retType));
}
break;
}
Expand Down

0 comments on commit bc349f8

Please sign in to comment.