summaryrefslogtreecommitdiffstats
path: root/JavaScriptCore/runtime/RopeImpl.cpp
diff options
context:
space:
mode:
authorKristian Monsen <kristianm@google.com>2010-05-21 16:53:46 +0100
committerKristian Monsen <kristianm@google.com>2010-05-25 10:24:15 +0100
commit6c2af9490927c3c5959b5cb07461b646f8b32f6c (patch)
treef7111b9b22befab472616c1d50ec94eb50f1ec8c /JavaScriptCore/runtime/RopeImpl.cpp
parenta149172322a9067c14e8b474a53e63649aa17cad (diff)
downloadexternal_webkit-6c2af9490927c3c5959b5cb07461b646f8b32f6c.zip
external_webkit-6c2af9490927c3c5959b5cb07461b646f8b32f6c.tar.gz
external_webkit-6c2af9490927c3c5959b5cb07461b646f8b32f6c.tar.bz2
Merge WebKit at r59636: Initial merge by git
Change-Id: I59b289c4e6b18425f06ce41cc9d34c522515de91
Diffstat (limited to 'JavaScriptCore/runtime/RopeImpl.cpp')
-rw-r--r--JavaScriptCore/runtime/RopeImpl.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/JavaScriptCore/runtime/RopeImpl.cpp b/JavaScriptCore/runtime/RopeImpl.cpp
index a3760e6..25b9848 100644
--- a/JavaScriptCore/runtime/RopeImpl.cpp
+++ b/JavaScriptCore/runtime/RopeImpl.cpp
@@ -30,9 +30,9 @@ namespace JSC {
void RopeImpl::derefFibersNonRecursive(Vector<RopeImpl*, 32>& workQueue)
{
- unsigned length = fiberCount();
- for (unsigned i = 0; i < length; ++i) {
- Fiber& fiber = fibers(i);
+ unsigned fiberCount = this->fiberCount();
+ for (unsigned i = 0; i < fiberCount; ++i) {
+ Fiber& fiber = m_fibers[i];
if (isRope(fiber)) {
RopeImpl* nextRope = static_cast<RopeImpl*>(fiber);
if (nextRope->hasOneRef())