Ignore:
Timestamp:
Mar 30, 2016, 10:55:24 AM (9 years ago)
Author:
[email protected]
Message:

Unreviewed, rollout r198808. The patch causes crashes on 32-bit and appears to be a JSBench regression.

File:
1 edited

Legend:

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

    r198808 r198844  
    438438    static Structure* createStructure(VM& vm, JSGlobalObject* globalObject, JSValue prototype)
    439439    {
    440         return Structure::create(vm, globalObject, prototype, TypeInfo(ArrayType, StructureFlags), info(), ArrayClass);
     440        return Structure::create(vm, globalObject, prototype, TypeInfo(ObjectType, StructureFlags), info(), ArrayClass);
    441441    }
    442442
     
    559559static EncodedJSValue JSC_HOST_CALL functionPrint(ExecState*);
    560560static EncodedJSValue JSC_HOST_CALL functionDebug(ExecState*);
    561 static EncodedJSValue JSC_HOST_CALL functionDataLogValue(ExecState*);
    562561static EncodedJSValue JSC_HOST_CALL functionDescribe(ExecState*);
    563562static EncodedJSValue JSC_HOST_CALL functionDescribeArray(ExecState*);
     
    725724    {
    726725        Base::finishCreation(vm);
    727 
    728         addFunction(vm, "dataLogValue", functionDataLogValue, 1);
     726       
    729727        addFunction(vm, "debug", functionDebug, 1);
    730728        addFunction(vm, "describe", functionDescribe, 1);
     
    824822
    825823        putDirect(vm, Identifier::fromString(globalExec(), "console"), jsUndefined());
    826         putDirect(vm, vm.propertyNames->printPrivateName, JSFunction::create(vm, this, 1, vm.propertyNames->printPrivateName.string(), functionPrint));
    827824    }
    828825
     
    11241121}
    11251122
    1126 EncodedJSValue JSC_HOST_CALL functionDataLogValue(ExecState* exec)
    1127 {
    1128     dataLog("value is: ", exec->argument(0), "\n");
    1129     return JSValue::encode(jsUndefined());
    1130 }
    1131 
    11321123EncodedJSValue JSC_HOST_CALL functionDescribe(ExecState* exec)
    11331124{
Note: See TracChangeset for help on using the changeset viewer.