diff options
author | Lars Knoll <[email protected]> | 2018-04-06 13:53:34 +0200 |
---|---|---|
committer | Lars Knoll <[email protected]> | 2018-05-02 14:18:10 +0000 |
commit | e4a2b2885d1847624dcbc6b9e4dfdedf04767fe3 (patch) | |
tree | f6727f68c0ee36100eb429e0898a7c507439b62e /src/qml/jsruntime/qv4string.cpp | |
parent | b58711804e9cca641927dbdebe281488e475352b (diff) |
Add a StringOrSymbol intermediate class between Managed and String
This introduces a common base class for Strings and Symbols
giving us a unified approach to handling object properties for
both.
Change-Id: Ic9e5a18b084c8b730e134db990f101d47af224e3
Reviewed-by: Simon Hausmann <[email protected]>
Diffstat (limited to 'src/qml/jsruntime/qv4string.cpp')
-rw-r--r-- | src/qml/jsruntime/qv4string.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qml/jsruntime/qv4string.cpp b/src/qml/jsruntime/qv4string.cpp index a7a8868bdd..d14dfd082f 100644 --- a/src/qml/jsruntime/qv4string.cpp +++ b/src/qml/jsruntime/qv4string.cpp @@ -69,6 +69,7 @@ void Heap::String::markObjects(Heap::Base *that, MarkStack *markStack) } } +DEFINE_MANAGED_VTABLE(StringOrSymbol); DEFINE_MANAGED_VTABLE(String); |