Changeset 32652 in webkit for trunk/JavaScriptCore/kjs/lexer.h


Ignore:
Timestamp:
Apr 28, 2008, 11:22:14 AM (17 years ago)
Author:
[email protected]
Message:

Reviewed by Darin.

Fix run-webkit-tests --threading
and provisionally fix <https://bugs.webkit.org/show_bug.cgi?id=18661>
Proxy server issue in Sunday's Nightly

Changed ClassInfo objects for built-in objects to hold a getter function returning
a per-thread instance. This makes it safe to share these ClassInfo objects between threads -
and these are the only ones that need to be shared.

File:
1 edited

Legend:

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

    r31944 r32652  
    2525#define Lexer_h
    2626
     27#include "lookup.h"
    2728#include "ustring.h"
    2829#include <wtf/Vector.h>
     
    9596    friend class WTF::ThreadSpecific<Lexer>;
    9697    Lexer();
     98    ~Lexer();
    9799
    98100    int yylineno;
     
    146148    UString m_pattern;
    147149    UString m_flags;
     150
     151    const HashTable mainTable;
    148152  };
    149153 
Note: See TracChangeset for help on using the changeset viewer.