Skip to content

Commit

Permalink
Merge pull request #237 from rwy0717/ddr-fix
Browse files Browse the repository at this point in the history
Root the J9DRRStructTableGC friend decl
  • Loading branch information
charliegracie authored Oct 10, 2017
2 parents 635efb8 + d6b5545 commit 220f7c8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions runtime/gc_ddr/gc_xlat.sed
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,12 @@
s/[^[:print:][:blank:]]$//
1i\
/* Preprocessed to add J9DDRStructTableGC as a friend. Do not edit this version! */
1i\
class J9DDRStructTableGC;
s/class .*{$/&\
friend class J9DDRStructTableGC;/
friend class ::J9DDRStructTableGC;/
/class .*[^;{]$/{
N
s/^\(.*\n{.*\)$/\1\
friend class J9DDRStructTableGC;/
friend class ::J9DDRStructTableGC;/
}

0 comments on commit 220f7c8

Please sign in to comment.