Ignore:
Timestamp:
Mar 4, 2014, 1:30:59 PM (11 years ago)
Author:
[email protected]
Message:

Unreviewed, rolling out r164812.
http://trac.webkit.org/changeset/164812
https://bugs.webkit.org/show_bug.cgi?id=129699

it made things run slower (Requested by pizlo on #webkit).

  • interpreter/Interpreter.cpp:

(JSC::Interpreter::execute):

  • jsc.cpp:

(GlobalObject::finishCreation):

  • runtime/BatchedTransitionOptimizer.h:

(JSC::BatchedTransitionOptimizer::BatchedTransitionOptimizer):
(JSC::BatchedTransitionOptimizer::~BatchedTransitionOptimizer):

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/jsc.cpp

    r164970 r165073  
    2626#include "ButterflyInlines.h"
    2727#include "BytecodeGenerator.h"
    28 #include "CodeCache.h"
    2928#include "Completion.h"
    3029#include "CopiedSpaceInlines.h"
     
    242241static EncodedJSValue JSC_HOST_CALL functionFalse(ExecState*);
    243242static EncodedJSValue JSC_HOST_CALL functionEffectful42(ExecState*);
    244 static EncodedJSValue JSC_HOST_CALL functionClearCodeCache(ExecState*);
    245243
    246244#if ENABLE(SAMPLING_FLAGS)
     
    380378       
    381379        addFunction(vm, "effectful42", functionEffectful42, 0);
    382         addFunction(vm, "clearCodeCache", functionClearCodeCache, 0);
    383380       
    384381        JSArray* array = constructEmptyArray(globalExec(), 0);
     
    750747{
    751748    return JSValue::encode(jsNumber(42));
    752 }
    753 
    754 EncodedJSValue JSC_HOST_CALL functionClearCodeCache(ExecState* exec)
    755 {
    756     if (CodeCache* cache = exec->vm().codeCache())
    757         cache->clear();
    758     return JSValue::encode(jsUndefined());
    759749}
    760750
Note: See TracChangeset for help on using the changeset viewer.