Changeset 31991 in webkit for trunk/JavaScriptCore/kjs/nodes.h


Ignore:
Timestamp:
Apr 16, 2008, 10:56:36 PM (17 years ago)
Author:
[email protected]
Message:

2008-04-15 Srinivas Rao. M Hamse <[email protected]>

Reviewed by Maciej Stachowiak.

  • gcc 3.x build fix
  • kjs/nodes.h: CallerType definition made public for gcc 3.x compilation
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/kjs/nodes.h

    r31119 r31991  
    208208        virtual void optimizeForUnnecessaryResult() { }
    209209
     210        // This needs to be in public in order to compile using GCC 3.x
     211        typedef enum { EvalOperator, FunctionCall } CallerType;
    210212    protected:
    211         typedef enum { EvalOperator, FunctionCall } CallerType;
    212213        template <CallerType, bool> inline JSValue* resolveAndCall(ExecState*, const Identifier&, ArgumentsNode*, size_t = 0);
    213214    };
Note: See TracChangeset for help on using the changeset viewer.