summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/javascriptcore/JavaScriptCore/runtime/JSType.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/3rdparty/javascriptcore/JavaScriptCore/runtime/JSType.h')
-rw-r--r--src/3rdparty/javascriptcore/JavaScriptCore/runtime/JSType.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/3rdparty/javascriptcore/JavaScriptCore/runtime/JSType.h b/src/3rdparty/javascriptcore/JavaScriptCore/runtime/JSType.h
index 68f289039c..882b2188e9 100644
--- a/src/3rdparty/javascriptcore/JavaScriptCore/runtime/JSType.h
+++ b/src/3rdparty/javascriptcore/JavaScriptCore/runtime/JSType.h
@@ -33,8 +33,10 @@ namespace JSC {
NumberType = 3,
NullType = 4,
StringType = 5,
- ObjectType = 6,
- GetterSetterType = 7
+ // The CompoundType value must come before any JSType that may have children
+ CompoundType = 6,
+ ObjectType = 7,
+ GetterSetterType = 8
};
} // namespace JSC