Ignore:
Timestamp:
Apr 15, 2014, 10:46:42 AM (11 years ago)
Author:
[email protected]
Message:

Unreviewed, rolling out r167199 and r167251.
https://bugs.webkit.org/show_bug.cgi?id=131678

Caused a DYEBench regression and does not seem to improve perf
on relevant websites (Requested by rniwa on #webkit).

Reverted changesets:

"Rewrite Function.bind as a builtin"
https://bugs.webkit.org/show_bug.cgi?id=131083
http://trac.webkit.org/changeset/167199

"Update test result"
http://trac.webkit.org/changeset/167251

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/runtime/JSGlobalObjectFunctions.cpp

    r167199 r167313  
    2727
    2828#include "CallFrame.h"
    29 #include "GetterSetter.h"
    3029#include "Interpreter.h"
    3130#include "JSFunction.h"
     
    814813}
    815814
    816    
    817 EncodedJSValue JSC_HOST_CALL globalFuncSetTypeErrorAccessor(ExecState* exec)
    818 {
    819     JSObject* target = jsDynamicCast<JSObject*>(exec->argument(0));
    820     JSValue propertyName = exec->argument(1);
    821    
    822     // Setting __proto__ of a primitive should have no effect.
    823     if (!target || !propertyName.isString())
    824         return JSValue::encode(jsUndefined());
    825     VM& vm = exec->vm();
    826     Identifier property(exec, asString(propertyName)->getString(exec));
    827     target->putDirectNonIndexAccessor(vm, vm.propertyNames->arguments, target->globalObject()->throwTypeErrorGetterSetter(vm), DontDelete | DontEnum | Accessor);
    828     return JSValue::encode(jsUndefined());
    829 }
    830    
    831815} // namespace JSC
Note: See TracChangeset for help on using the changeset viewer.