summaryrefslogtreecommitdiff
path: root/Source/JavaScriptCore/runtime/PropertySlot.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/JavaScriptCore/runtime/PropertySlot.cpp')
-rw-r--r--Source/JavaScriptCore/runtime/PropertySlot.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/Source/JavaScriptCore/runtime/PropertySlot.cpp b/Source/JavaScriptCore/runtime/PropertySlot.cpp
index ad555c7cf..c949f4bd2 100644
--- a/Source/JavaScriptCore/runtime/PropertySlot.cpp
+++ b/Source/JavaScriptCore/runtime/PropertySlot.cpp
@@ -23,7 +23,6 @@
#include "GetterSetter.h"
#include "JSCJSValueInlines.h"
-#include "JSObject.h"
namespace JSC {
@@ -33,10 +32,4 @@ JSValue PropertySlot::functionGetter(ExecState* exec) const
return callGetter(exec, m_thisValue, m_data.getter.getterSetter);
}
-JSValue PropertySlot::customGetter(ExecState* exec, PropertyName propertyName) const
-{
- JSValue thisValue = m_attributes & CustomAccessor ? m_thisValue : JSValue(slotBase());
- return JSValue::decode(m_data.custom.getValue(exec, JSValue::encode(thisValue), propertyName));
-}
-
} // namespace JSC