Revision f230a1cf deps/v8/src/handles-inl.h
deps/v8/src/handles-inl.h | ||
---|---|---|
130 | 130 |
v8::ImplementationUtilities::HandleScopeData* current = |
131 | 131 |
isolate->handle_scope_data(); |
132 | 132 |
|
133 |
current->next = prev_next;
|
|
133 |
std::swap(current->next, prev_next);
|
|
134 | 134 |
current->level--; |
135 | 135 |
if (current->limit != prev_limit) { |
136 | 136 |
current->limit = prev_limit; |
137 | 137 |
DeleteExtensions(isolate); |
138 |
}
|
|
139 |
|
|
140 |
#ifdef ENABLE_EXTRA_CHECKS
|
|
141 |
ZapRange(prev_next, prev_limit);
|
|
138 |
#ifdef ENABLE_HANDLE_ZAPPING
|
|
139 |
ZapRange(current->next, prev_limit); |
|
140 |
} else {
|
|
141 |
ZapRange(current->next, prev_next);
|
|
142 | 142 |
#endif |
143 |
} |
|
143 | 144 |
} |
144 | 145 |
|
145 | 146 |
|
Also available in: Unified diff