Ignore:
Timestamp:
Dec 1, 2015, 5:37:19 PM (10 years ago)
Author:
[email protected]
Message:

Unreviewed, rolling out r192914.
https://bugs.webkit.org/show_bug.cgi?id=151734

JSC tests for this change are failing on 32 and 64-bit bots
(Requested by ryanhaddad on #webkit).

Reverted changeset:

"[ES6] Implement LLInt/Baseline Support for ES6 Generators and
enable this feature"
https://bugs.webkit.org/show_bug.cgi?id=150792
http://trac.webkit.org/changeset/192914

File:
1 edited

Legend:

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

    r192914 r192935  
    5151#include "FunctionConstructor.h"
    5252#include "FunctionPrototype.h"
    53 #include "GeneratorFunctionConstructor.h"
    54 #include "GeneratorFunctionPrototype.h"
    55 #include "GeneratorPrototype.h"
    5653#include "GetterSetter.h"
    5754#include "HeapIterationScope.h"
     
    7673#include "JSDollarVMPrototype.h"
    7774#include "JSFunction.h"
    78 #include "JSGeneratorFunction.h"
    7975#include "JSGenericTypedArrayViewConstructorInlines.h"
    8076#include "JSGenericTypedArrayViewInlines.h"
     
    389385    FOR_EACH_BUILTIN_DERIVED_ITERATOR_TYPE(CREATE_PROTOTYPE_FOR_DERIVED_ITERATOR_TYPE)
    390386    m_propertyNameIteratorStructure.set(vm, this, JSPropertyNameIterator::createStructure(vm, this, m_iteratorPrototype.get()));
    391     m_generatorPrototype.set(vm, this, GeneratorPrototype::create(vm, this, GeneratorPrototype::createStructure(vm, this, m_iteratorPrototype.get())));
    392387   
    393388#undef CREATE_PROTOTYPE_FOR_DERIVED_ITERATOR_TYPE
     
    426421    m_typeErrorConstructor.set(vm, this, NativeErrorConstructor::create(vm, this, nativeErrorStructure, nativeErrorPrototypeStructure, ASCIILiteral("TypeError")));
    427422    m_URIErrorConstructor.set(vm, this, NativeErrorConstructor::create(vm, this, nativeErrorStructure, nativeErrorPrototypeStructure, ASCIILiteral("URIError")));
    428 
    429     m_generatorFunctionPrototype.set(vm, this, GeneratorFunctionPrototype::create(vm, GeneratorFunctionPrototype::createStructure(vm, this, m_functionPrototype.get())));
    430     GeneratorFunctionConstructor* generatorFunctionConstructor = GeneratorFunctionConstructor::create(vm, GeneratorFunctionConstructor::createStructure(vm, this, functionConstructor), m_generatorFunctionPrototype.get());
    431     m_generatorFunctionPrototype->putDirectWithoutTransition(vm, vm.propertyNames->constructor, generatorFunctionConstructor, DontEnum);
    432     m_generatorFunctionStructure.set(vm, this, JSGeneratorFunction::createStructure(vm, this, m_generatorFunctionPrototype.get()));
    433 
    434     m_generatorPrototype->putDirectWithoutTransition(vm, vm.propertyNames->constructor, m_generatorFunctionPrototype.get(), DontEnum);
    435     m_generatorFunctionPrototype->putDirectWithoutTransition(vm, vm.propertyNames->prototype, m_generatorPrototype.get(), DontEnum);
    436423   
    437424    m_objectPrototype->putDirectWithoutTransition(vm, vm.propertyNames->constructor, objectConstructor, DontEnum);
     
    567554        GlobalPropertyInfo(vm.propertyNames->builtinNames().InspectorInstrumentationPrivateName(), InspectorInstrumentationObject::create(vm, this, InspectorInstrumentationObject::createStructure(vm, this, m_objectPrototype.get())), DontEnum | DontDelete | ReadOnly),
    568555        GlobalPropertyInfo(vm.propertyNames->MapPrivateName, mapConstructor, DontEnum | DontDelete | ReadOnly),
    569         GlobalPropertyInfo(vm.propertyNames->builtinNames().generatorResumePrivateName(), JSFunction::createBuiltinFunction(vm, generatorPrototypeGeneratorResumeCodeGenerator(vm), this), DontEnum | DontDelete | ReadOnly),
    570556    };
    571557    addStaticGlobals(staticGlobals, WTF_ARRAY_LENGTH(staticGlobals));
     
    835821    visitor.append(&thisObject->m_errorPrototype);
    836822    visitor.append(&thisObject->m_iteratorPrototype);
    837     visitor.append(&thisObject->m_generatorFunctionPrototype);
    838     visitor.append(&thisObject->m_generatorPrototype);
    839823
    840824    visitor.append(&thisObject->m_debuggerScopeStructure);
     
    869853    visitor.append(&thisObject->m_symbolObjectStructure);
    870854    visitor.append(&thisObject->m_regExpStructure);
    871     visitor.append(&thisObject->m_generatorFunctionStructure);
    872855    visitor.append(&thisObject->m_regExpMatchesArrayStructure);
    873856    visitor.append(&thisObject->m_moduleRecordStructure);
Note: See TracChangeset for help on using the changeset viewer.