Ignore:
Timestamp:
Nov 29, 2008, 4:07:29 AM (16 years ago)
Author:
[email protected]
Message:

2008-11-29 Cameron Zwarich <[email protected]>

Not reviewed.

The C++ standard does not automatically grant the friendships of an
enclosing class to its nested subclasses, so we should do so explicitly.
This fixes the GCC 4.0 build, although both GCC 4.2 and Visual C++ 2005
accept the incorrect code as it is.

  • assembler/MacroAssembler.h:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/assembler/MacroAssembler.h

    r38839 r38840  
    131131    };
    132132
     133    class Jump;
     134
    133135    // Label:
    134136    //
     
    136138    // it may be used as a destination for a jump.
    137139    class Label {
     140        friend class Jump;
    138141        friend class MacroAssembler;
    139142
Note: See TracChangeset for help on using the changeset viewer.