projects
/
platform
/
upstream
/
qtdeclarative.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Encapsulate and protect all accesses to the vtable of Heap objects
[platform/upstream/qtdeclarative.git]
/
src
/
qml
/
jsruntime
/
qv4persistent.cpp
diff --git
a/src/qml/jsruntime/qv4persistent.cpp
b/src/qml/jsruntime/qv4persistent.cpp
index
7eca12f
..
4ec7103
100644
(file)
--- a/
src/qml/jsruntime/qv4persistent.cpp
+++ b/
src/qml/jsruntime/qv4persistent.cpp
@@
-178,8
+178,8
@@
static void drainMarkStack(QV4::ExecutionEngine *engine, Value *markBase)
{
while (engine->jsStackTop > markBase) {
Heap::Base *h = engine->popForGC();
- Q_ASSERT (h->
gcGetV
table()->markObjects);
- h->
gcGetV
table()->markObjects(h, engine);
+ Q_ASSERT (h->
v
table()->markObjects);
+ h->
v
table()->markObjects(h, engine);
}
}