summaryrefslogtreecommitdiff
path: root/Source/JavaScriptCore/runtime/JSVariableObject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/JavaScriptCore/runtime/JSVariableObject.cpp')
-rw-r--r--Source/JavaScriptCore/runtime/JSVariableObject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/JavaScriptCore/runtime/JSVariableObject.cpp b/Source/JavaScriptCore/runtime/JSVariableObject.cpp
index eb9dfd4be..9dcbead34 100644
--- a/Source/JavaScriptCore/runtime/JSVariableObject.cpp
+++ b/Source/JavaScriptCore/runtime/JSVariableObject.cpp
@@ -39,7 +39,7 @@ namespace JSC {
void JSVariableObject::destroy(JSCell* cell)
{
- jsCast<JSVariableObject*>(cell)->JSVariableObject::~JSVariableObject();
+ static_cast<JSVariableObject*>(cell)->JSVariableObject::~JSVariableObject();
}
bool JSVariableObject::deleteProperty(JSCell* cell, ExecState* exec, PropertyName propertyName)