PropertySlot.cpp 1.1 KB
Newer Older
mjs's avatar
mjs committed
1
/*
darin@apple.com's avatar
darin@apple.com committed
2
 *  Copyright (C) 2005, 2008 Apple Inc. All rights reserved.
mjs's avatar
mjs committed
3 4 5 6 7 8 9 10 11 12 13 14 15
 *
 *  This library is free software; you can redistribute it and/or
 *  modify it under the terms of the GNU Library General Public
 *  License as published by the Free Software Foundation; either
 *  version 2 of the License, or (at your option) any later version.
 *
 *  This library is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 *  Library General Public License for more details.
 *
 *  You should have received a copy of the GNU Library General Public License
 *  along with this library; see the file COPYING.LIB.  If not, write to
mjs's avatar
mjs committed
16
 *  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
mjs's avatar
mjs committed
17 18 19 20
 *  Boston, MA 02110-1301, USA.
 *
 */

mjs's avatar
mjs committed
21
#include "config.h"
darin@apple.com's avatar
darin@apple.com committed
22
#include "PropertySlot.h"
23

24 25
#include "GetterSetter.h"
#include "JSCJSValueInlines.h"
mjs's avatar
mjs committed
26

27
namespace JSC {
mjs's avatar
mjs committed
28

29
JSValue PropertySlot::functionGetter(ExecState* exec) const
30
{
31
    return callGetter(exec, m_thisValue, m_data.getterSetter);
32 33
}

34
} // namespace JSC