Ignore:
Timestamp:
Jun 20, 2016, 5:26:59 PM (9 years ago)
Author:
[email protected]
Message:

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

breaks builds on the simulator (Requested by keith_mi_ on
#webkit).

Reverted changeset:

"It should be easy to add a private global helper function for
builtins"
https://bugs.webkit.org/show_bug.cgi?id=158893
http://trac.webkit.org/changeset/202248

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/parser/Lexer.cpp

    r202248 r202255  
    11/*
    22 *  Copyright (C) 1999-2000 Harri Porten ([email protected])
    3  *  Copyright (C) 2006-2009, 2011-2013, 2016 Apple Inc. All Rights Reserved.
     3 *  Copyright (C) 2006, 2007, 2008, 2009, 2011, 2012, 2013 Apple Inc. All Rights Reserved.
    44 *  Copyright (C) 2007 Cameron Zwarich ([email protected])
    55 *  Copyright (C) 2010 Zoltan Herczeg ([email protected])
     
    940940                ident = m_vm->propertyNames->lookUpPrivateName(*ident);
    941941            else if (*ident == m_vm->propertyNames->undefinedKeyword)
    942                 tokenData->ident = &m_vm->propertyNames->builtinNames().undefinedPrivateName();
     942                tokenData->ident = &m_vm->propertyNames->undefinedPrivateName;
    943943            if (!ident)
    944944                return INVALID_PRIVATE_NAME_ERRORTOK;
     
    10171017                ident = m_vm->propertyNames->lookUpPrivateName(*ident);
    10181018            else if (*ident == m_vm->propertyNames->undefinedKeyword)
    1019                 tokenData->ident = &m_vm->propertyNames->builtinNames().undefinedPrivateName();
     1019                tokenData->ident = &m_vm->propertyNames->undefinedPrivateName;
    10201020            if (!ident)
    10211021                return INVALID_PRIVATE_NAME_ERRORTOK;
Note: See TracChangeset for help on using the changeset viewer.