summaryrefslogtreecommitdiff
path: root/deps/v8/src/handles/handles-inl.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/handles/handles-inl.h')
-rw-r--r--deps/v8/src/handles/handles-inl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/v8/src/handles/handles-inl.h b/deps/v8/src/handles/handles-inl.h
index 43c2ef807e..e47ee146bf 100644
--- a/deps/v8/src/handles/handles-inl.h
+++ b/deps/v8/src/handles/handles-inl.h
@@ -115,7 +115,7 @@ HandleScope& HandleScope::operator=(HandleScope&& other) V8_NOEXCEPT {
void HandleScope::CloseScope(Isolate* isolate, Address* prev_next,
Address* prev_limit) {
#ifdef DEBUG
- int before = FLAG_check_handle_count ? NumberOfHandles(isolate) : 0;
+ int before = v8_flags.check_handle_count ? NumberOfHandles(isolate) : 0;
#endif
DCHECK_NOT_NULL(isolate);
HandleScopeData* current = isolate->handle_scope_data();
@@ -136,7 +136,7 @@ void HandleScope::CloseScope(Isolate* isolate, Address* prev_next,
static_cast<size_t>(reinterpret_cast<Address>(limit) -
reinterpret_cast<Address>(current->next)));
#ifdef DEBUG
- int after = FLAG_check_handle_count ? NumberOfHandles(isolate) : 0;
+ int after = v8_flags.check_handle_count ? NumberOfHandles(isolate) : 0;
DCHECK_LT(after - before, kCheckHandleThreshold);
DCHECK_LT(before, kCheckHandleThreshold);
#endif