Ignore:
Timestamp:
Apr 6, 2016, 11:49:54 AM (9 years ago)
Author:
[email protected]
Message:

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

Still breaks internal builds (Requested by keith_miller on
#webkit).

Reverted changeset:

"We should support the ability to do a non-effectful getById"
https://bugs.webkit.org/show_bug.cgi?id=156116
http://trac.webkit.org/changeset/199104

Location:
trunk/Source/JavaScriptCore/builtins
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/builtins/BuiltinExecutables.cpp

    r199104 r199108  
    3636namespace JSC {
    3737
     38static UnlinkedFunctionExecutable* createExecutableInternal(VM&, const SourceCode&, const Identifier&, ConstructorKind, ConstructAbility);
     39
    3840BuiltinExecutables::BuiltinExecutables(VM& vm)
    3941    : m_vm(vm)
     
    5355        break;
    5456    case ConstructorKind::Base:
    55         return createExecutable(m_vm, makeSource(baseConstructorCode), name, constructorKind, ConstructAbility::CanConstruct);
     57        return createExecutableInternal(m_vm, makeSource(baseConstructorCode), name, constructorKind, ConstructAbility::CanConstruct);
    5658    case ConstructorKind::Derived:
    57         return createExecutable(m_vm, makeSource(derivedConstructorCode), name, constructorKind, ConstructAbility::CanConstruct);
     59        return createExecutableInternal(m_vm, makeSource(derivedConstructorCode), name, constructorKind, ConstructAbility::CanConstruct);
    5860    }
    5961    ASSERT_NOT_REACHED();
     
    6365UnlinkedFunctionExecutable* BuiltinExecutables::createBuiltinExecutable(const SourceCode& code, const Identifier& name, ConstructAbility constructAbility)
    6466{
    65     return createExecutable(m_vm, code, name, ConstructorKind::None, constructAbility);
     67    return createExecutableInternal(m_vm, code, name, ConstructorKind::None, constructAbility);
    6668}
    6769
    6870UnlinkedFunctionExecutable* createBuiltinExecutable(VM& vm, const SourceCode& code, const Identifier& name, ConstructAbility constructAbility)
    6971{
    70     return BuiltinExecutables::createExecutable(vm, code, name, ConstructorKind::None, constructAbility);
     72    return createExecutableInternal(vm, code, name, ConstructorKind::None, constructAbility);
    7173}
    7274
    73 UnlinkedFunctionExecutable* BuiltinExecutables::createExecutable(VM& vm, const SourceCode& source, const Identifier& name, ConstructorKind constructorKind, ConstructAbility constructAbility)
     75UnlinkedFunctionExecutable* createExecutableInternal(VM& vm, const SourceCode& source, const Identifier& name, ConstructorKind constructorKind, ConstructAbility constructAbility)
    7476{
    7577    JSTextPosition positionBeforeLastNewline;
  • trunk/Source/JavaScriptCore/builtins/BuiltinExecutables.h

    r199104 r199108  
    5353    UnlinkedFunctionExecutable* createDefaultConstructor(ConstructorKind, const Identifier& name);
    5454
    55     JS_EXPORT_PRIVATE static UnlinkedFunctionExecutable* createExecutable(VM&, const SourceCode&, const Identifier&, ConstructorKind, ConstructAbility);
    5655private:
    5756    void finalize(Handle<Unknown>, void* context) override;
Note: See TracChangeset for help on using the changeset viewer.