Ignore:
Timestamp:
Dec 6, 2012, 11:26:20 AM (13 years ago)
Author:
[email protected]
Message:

Remove harmful string->function cache
https://bugs.webkit.org/show_bug.cgi?id=104193

Reviewed by Alexey Proskuryakov.

Remove the string->function code cache that turned out to actually
be quite harmful.

  • runtime/CodeCache.cpp:

(JSC::CodeCache::getFunctionCodeBlock):

  • runtime/CodeCache.h:

(JSC::CodeCache::clear):

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/parser/SyntaxChecker.h

    r136261 r136860  
    152152    ExpressionType createFunctionExpr(const JSTokenLocation&, const Identifier*, int, int, int, int, int, int) { return FunctionExpr; }
    153153    int createFunctionBody(const JSTokenLocation&, bool) { return 1; }
    154     void setFunctionStart(int, int) { }
    155154    int createArguments() { return 1; }
    156155    int createArguments(int) { return 1; }
Note: See TracChangeset for help on using the changeset viewer.