summaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4engine_p.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2018-06-17 10:57:21 +0200
committerLars Knoll <lars.knoll@qt.io>2018-06-25 07:36:17 +0000
commitf5a7953df3cb61edc6cc30175ea4f7f1c97deae6 (patch)
treeeec73680dff46f211f960d721843bbcad5fc7b42 /src/qml/jsruntime/qv4engine_p.h
parentc21a6a9f2c2d635aca3bf88a6431c560b16b1cc6 (diff)
Partial Proxy support
get, set and deleteProperty proxying is implemented, the others require some more changes in our engine. Change-Id: I4dd4b154b1a582f5e36cdc9429fa049fd37d5167 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4engine_p.h')
-rw-r--r--src/qml/jsruntime/qv4engine_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qml/jsruntime/qv4engine_p.h b/src/qml/jsruntime/qv4engine_p.h
index b007e65c4b..abd363adcb 100644
--- a/src/qml/jsruntime/qv4engine_p.h
+++ b/src/qml/jsruntime/qv4engine_p.h
@@ -368,6 +368,7 @@ public:
Symbol_toPrimitive,
Symbol_toStringTag,
Symbol_unscopables,
+ Symbol_revokableProxy,
NJSSymbols
};
Value *jsSymbols;
@@ -425,6 +426,7 @@ public:
Symbol *symbol_toPrimitive() const { return reinterpret_cast<Symbol *>(jsSymbols + Symbol_toPrimitive); }
Symbol *symbol_toStringTag() const { return reinterpret_cast<Symbol *>(jsSymbols + Symbol_toStringTag); }
Symbol *symbol_unscopables() const { return reinterpret_cast<Symbol *>(jsSymbols + Symbol_unscopables); }
+ Symbol *symbol_revokableProxy() const { return reinterpret_cast<Symbol *>(jsSymbols + Symbol_revokableProxy); }
#ifndef V4_BOOTSTRAP
QIntrusiveList<CompiledData::CompilationUnit, &CompiledData::CompilationUnit::nextCompilationUnit> compilationUnits;