Home | History | Annotate | Download | only in src

Lines Matching full:current

113   v8::ImplementationUtilities::HandleScopeData* current =
116 prev_next_ = current->next;
117 prev_limit_ = current->limit;
118 current->level++;
130 v8::ImplementationUtilities::HandleScopeData* current =
133 std::swap(current->next, prev_next);
134 current->level--;
135 if (current->limit != prev_limit) {
136 current->limit = prev_limit;
139 ZapRange(current->next, prev_limit);
141 ZapRange(current->next, prev_next);
149 v8::ImplementationUtilities::HandleScopeData* current =
153 // Throw away all handles in the current scope.
156 ASSERT(current->level > 0);
158 // Reinitialize the current scope (so that it's ready
160 prev_next_ = current->next;
161 prev_limit_ = current->limit;
162 current->level++;
170 v8::ImplementationUtilities::HandleScopeData* current =
173 internal::Object** cur = current->next;
174 if (cur == current->limit) cur = Extend(isolate);
175 // Update the current next field, set the value in the created
177 ASSERT(cur < current->limit);
178 current->next = cur + 1;
188 // Make sure the current thread is allowed to create handles to begin with.
190 v8::ImplementationUtilities::HandleScopeData* current =
192 // Shrink the current handle scope to make it impossible to do
194 limit_ = current->limit;
195 current->limit = current->next;
196 level_ = current->level;
197 current->level = 0;
202 // Restore state in current handle scope to re-enable handle
204 v8::ImplementationUtilities::HandleScopeData* current =
206 ASSERT_EQ(0, current->level);
207 current->level = level_;
208 ASSERT_EQ(current->next, current->limit);
209 current->limit = limit_;