From f5a7953df3cb61edc6cc30175ea4f7f1c97deae6 Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Sun, 17 Jun 2018 10:57:21 +0200 Subject: 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 --- src/qml/jsruntime/qv4engine_p.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/qml/jsruntime/qv4engine_p.h') 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(jsSymbols + Symbol_toPrimitive); } Symbol *symbol_toStringTag() const { return reinterpret_cast(jsSymbols + Symbol_toStringTag); } Symbol *symbol_unscopables() const { return reinterpret_cast(jsSymbols + Symbol_unscopables); } + Symbol *symbol_revokableProxy() const { return reinterpret_cast(jsSymbols + Symbol_revokableProxy); } #ifndef V4_BOOTSTRAP QIntrusiveList compilationUnits; -- cgit v1.2.3