Ignore:
Timestamp:
Apr 5, 2016, 4:50:34 PM (9 years ago)
Author:
Ryan Haddad
Message:

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

This change broke internal Mac builds (Requested by ryanhaddad
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/199073

Patch by Commit Queue <[email protected]> on 2016-04-05

File:
1 edited

Legend:

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

    r199073 r199084  
    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;
Note: See TracChangeset for help on using the changeset viewer.