[webkit-changes] cvs commit: JavaScriptCore/kjs nodes.h

Maciej mjs at opensource.apple.com
Fri Aug 12 12:58:17 PDT 2005


mjs         05/08/12 12:58:17

  Modified:    .        ChangeLog
               kjs      nodes.h
  Log:
          Patch from Anders Carlsson, reviewed by me.
  
          * kjs/nodes.h: Fix build breakage.
  
  Revision  Changes    Path
  1.790     +6 -0      JavaScriptCore/ChangeLog
  
  Index: ChangeLog
  ===================================================================
  RCS file: /cvs/root/JavaScriptCore/ChangeLog,v
  retrieving revision 1.789
  retrieving revision 1.790
  diff -u -r1.789 -r1.790
  --- ChangeLog	12 Aug 2005 07:35:59 -0000	1.789
  +++ ChangeLog	12 Aug 2005 19:58:16 -0000	1.790
  @@ -1,5 +1,11 @@
   2005-08-12  Maciej Stachowiak  <mjs at apple.com>
   
  +        Patch from Anders Carlsson, reviewed by me.
  +
  +        * kjs/nodes.h: Fix build breakage.
  +
  +2005-08-12  Maciej Stachowiak  <mjs at apple.com>
  +
           Reviewed by hyatt.
   
   	- refactor function calls, 3% speedup on JS iBench.
  
  
  
  1.27      +5 -5      JavaScriptCore/kjs/nodes.h
  
  Index: nodes.h
  ===================================================================
  RCS file: /cvs/root/JavaScriptCore/kjs/nodes.h,v
  retrieving revision 1.26
  retrieving revision 1.27
  diff -u -r1.26 -r1.27
  --- nodes.h	12 Aug 2005 07:36:00 -0000	1.26
  +++ nodes.h	12 Aug 2005 19:58:17 -0000	1.27
  @@ -395,13 +395,13 @@
       virtual bool deref();
       ValueImp *evaluate(ExecState *exec);
       virtual void streamTo(SourceStream &s) const;
  -  private:
  +  protected:
       Node *base;
       Node *subscript;
       ArgumentsNode *args;
     };
   
  -  class FunctionCallParenBracketNode : public Node {
  +  class FunctionCallParenBracketNode : public FunctionCallBracketNode {
     public:
       FunctionCallParenBracketNode(Node *b, Node *s, ArgumentsNode *a) : FunctionCallBracketNode(b, s, a) {}
       virtual void streamTo(SourceStream &s) const;
  @@ -414,15 +414,15 @@
       virtual bool deref();
       ValueImp *evaluate(ExecState *exec);
       virtual void streamTo(SourceStream &s) const;
  -  private:
  +  protected:
       Node *base;
       Identifier ident;
       ArgumentsNode *args;
     };
   
  -  class FunctionCallParenDotNode : public Node {
  +  class FunctionCallParenDotNode : public FunctionCallDotNode {
     public:
  -    FunctionCallDotNode(Node *b, const Identifier &i, ArgumentsNode *a) : FunctionCallDotNode(b, i, a) {}
  +    FunctionCallParenDotNode(Node *b, const Identifier &i, ArgumentsNode *a) : FunctionCallDotNode(b, i, a) {}
       virtual void streamTo(SourceStream &s) const;
     };
   
  
  
  



More information about the webkit-changes mailing list