diff options
author | Lars Knoll <lars.knoll@digia.com> | 2013-09-03 12:40:07 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-09-11 13:01:44 +0200 |
commit | 1986cf68d09fcd6cb586286bb21d8d9b7d405ce8 (patch) | |
tree | 4dc50920eeb124a893253eec7afe911747960020 /src/qml/jsruntime/qv4mm_p.h | |
parent | 87063772e329a8423d92a4eb8a8c29cff2fd9d18 (diff) |
Create a stack for JS values and use it in the interpreter
First step towards being able to do an exact GC.
Create a stack for JS Values that is separate from the C++
stack.
Use the stack for generated methods (masm and moth).
Change-Id: I80ac0e5b5d86439dda5e9ea2b21fa0c57d8aef22
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/jsruntime/qv4mm_p.h')
-rw-r--r-- | src/qml/jsruntime/qv4mm_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qml/jsruntime/qv4mm_p.h b/src/qml/jsruntime/qv4mm_p.h index f72d23dc9a..ef6becbb1f 100644 --- a/src/qml/jsruntime/qv4mm_p.h +++ b/src/qml/jsruntime/qv4mm_p.h @@ -129,6 +129,7 @@ protected: private: void collectFromStack() const; + void collectFromJSStack() const; void mark(); std::size_t sweep(bool lastSweep = false); std::size_t sweep(char *chunkStart, std::size_t chunkSize, size_t size, GCDeletable **deletable); |