Home
last modified time | relevance | path

Searched refs:V8_LIKELY (Results 1 - 25 of 77) sorted by relevance

1234

/third_party/node/deps/v8/include/v8-include/cppgc/internal/
H A Dwrite-barrier.h226 if (V8_LIKELY(!WriteBarrier::IsEnabled())) in Get()
236 if (V8_LIKELY(!WriteBarrier::IsEnabled())) in Get()
254 if (V8_LIKELY(!heap_handle.is_incremental_marking_in_progress())) { in BarrierEnabledGet()
280 if (V8_LIKELY(!WriteBarrier::IsEnabled())) in Get()
285 if (V8_LIKELY(!handle.is_incremental_marking_in_progress())) { in Get()
353 if (V8_LIKELY(!WriteBarrier::IsEnabled())) { in Get()
362 if (V8_LIKELY(heap_handle.is_incremental_marking_in_progress())) { in Get()
378 if (V8_LIKELY(handle.is_incremental_marking_in_progress())) { in Get()
464 if (V8_LIKELY(age_table.GetAge(params.slot_offset) == AgeTable::Age::kYoung)) in GenerationalBarrier()
H A Dpersistent-node.h99 if (V8_LIKELY(free_list_head_)) { in TryAllocateNodeFromFreeList()
149 if (V8_LIKELY(node)) return node; in AllocateNode()
193 if (V8_LIKELY(node)) return node; in AllocateNode()
/third_party/node/deps/v8/src/zone/
H A Daccounting-allocator.h50 if (V8_LIKELY(!TracingFlags::is_zone_stats_enabled())) return; in TraceZoneCreation()
55 if (V8_LIKELY(!TracingFlags::is_zone_stats_enabled())) return; in TraceZoneDestruction()
60 if (V8_LIKELY(!TracingFlags::is_zone_stats_enabled())) return; in TraceAllocateSegment()
/third_party/node/deps/v8/include/cppgc/internal/
H A Dwrite-barrier.h213 if (V8_LIKELY(!WriteBarrier::IsAnyIncrementalOrConcurrentMarking())) { in Get()
221 if (V8_LIKELY(!params.caged_heap().is_incremental_marking_in_progress)) { in Get()
245 if (V8_LIKELY(!IsMarking(handle, params))) { in Get()
257 if (V8_LIKELY(!WriteBarrier::IsAnyIncrementalOrConcurrentMarking())) { in Get()
313 if (V8_LIKELY(!WriteBarrier::IsAnyIncrementalOrConcurrentMarking())) { in Get()
408 if (V8_LIKELY(age_table.GetAge(params.slot_offset) == AgeTable::Age::kYoung)) in GenerationalBarrier()
424 if (V8_LIKELY(age_table.GetAge(params.slot_offset) == AgeTable::Age::kYoung)) in GenerationalBarrierForSourceObject()
H A Dpersistent-node.h101 if (V8_LIKELY(free_list_head_)) { in TryAllocateNodeFromFreeList()
151 if (V8_LIKELY(node)) return node; in AllocateNode()
195 if (V8_LIKELY(node)) return node; in AllocateNode()
/third_party/node/deps/v8/src/logging/
H A Druntime-call-stats-scope.h28 if (V8_LIKELY(!TracingFlags::is_runtime_stats_enabled())) return; in RuntimeCallTimerScope()
36 if (V8_LIKELY(!TracingFlags::is_runtime_stats_enabled())) return; in RuntimeCallTimerScope()
H A Druntime-call-stats.cc263 if (V8_LIKELY(!TracingFlags::is_runtime_stats_enabled())) return; in Reset()
326 if (V8_LIKELY(!TracingFlags::is_runtime_stats_enabled())) return; in WorkerThreadRuntimeCallStatsScope()
342 if (V8_LIKELY(table_ == nullptr)) return; in ~WorkerThreadRuntimeCallStatsScope()
/third_party/node/deps/v8/src/heap/
H A Dgc-tracer-inl.h38 if (V8_LIKELY(!TracingFlags::is_runtime_stats_enabled())) return; in Scope()
75 if (V8_LIKELY(runtime_stats_ == nullptr)) return; in ~Scope()
/third_party/node/deps/v8/src/strings/
H A Dunicode-inl.h91 if (V8_LIKELY(next <= kMaxOneByteChar && old_state == State::kAccept)) { in ValueOfIncremental()
182 if (V8_LIKELY(first <= kMaxOneByteChar)) { in ValueOf()
/third_party/node/deps/v8/src/wasm/
H A Dwasm-subtyping.h71 if (V8_LIKELY(subtype == supertype)) return true; in IsSubtypeOf()
/third_party/node/deps/v8/src/heap/cppgc/
H A Dvisitor.cc57 if (V8_LIKELY(!heap_.caged_heap().IsOnHeap(address))) return; in TraceConservativelyIfNeeded()
H A Dcompactor.cc127 if (V8_LIKELY(!slot_page->space().is_compactable())) return; in AddOrFilter()
253 if (V8_LIKELY(compact_frontier != header)) { in RelocateObject()
/third_party/node/deps/v8/src/runtime/
H A Druntime-array.cc272 if (V8_LIKELY(from_index->IsSmi())) { in RUNTIME_FUNCTION()
283 if (V8_LIKELY(std::isfinite(start_from))) { in RUNTIME_FUNCTION()
374 if (V8_LIKELY(fp >= in RUNTIME_FUNCTION()
/third_party/node/deps/v8/src/codegen/
H A Dassembler.cc149 if (V8_LIKELY(!tls_singleton_taken)) { in operator new()
157 if (V8_LIKELY(ptr == &tls_singleton_storage)) {
/third_party/node/deps/v8/include/
H A Dv8config.h486 # define V8_LIKELY(condition) (__builtin_expect(!!(condition), 1)) macro
489 # define V8_LIKELY(condition) (condition) macro
H A Dv8-maybe.h52 if (V8_LIKELY(IsJust())) *out = value_; in To()
H A Dv8-function-callback.h302 if (V8_LIKELY(I::IsValidSmi(i))) { in Set()
314 if (V8_LIKELY(fits_into_int32_t)) { in Set()
/third_party/node/deps/v8/src/json/
H A Djson-parser.h215 if (V8_LIKELY(peek() == token)) { in Expect()
242 if (V8_LIKELY(remaining >= N - 1 && in ScanLiteral()
/third_party/node/deps/v8/src/objects/
H A Dosr-optimized-code-cache.cc231 if (V8_LIKELY(shared.osr_code_cache_state() == kCachedOnce)) { in ClearEntry()
261 if (V8_LIKELY(shared.osr_code_cache_state() == kNotCached)) { in InitializeEntry()
/third_party/node/deps/v8/src/parsing/
H A Dscanner.h54 if (V8_LIKELY(buffer_cursor_ < buffer_end_)) { in Peek()
102 if (V8_LIKELY(buffer_cursor_ > buffer_start_)) { in Back()
114 if (V8_LIKELY(pos >= buffer_pos_ && in Seek()
/third_party/node/deps/v8/include/v8-include/
H A Dv8-maybe.h55 if (V8_LIKELY(IsJust())) *out = value_; in To()
H A Dv8-function-callback.h324 if (V8_LIKELY(I::IsValidSmi(i))) { in Set()
336 if (V8_LIKELY(fits_into_int32_t)) { in Set()
H A Dv8config.h596 # define V8_LIKELY(condition) (__builtin_expect(!!(condition), 1)) macro
599 # define V8_LIKELY(condition) (condition) macro
/third_party/node/deps/v8/src/ic/
H A Dic-stats.cc24 if (V8_LIKELY(!TracingFlags::is_ic_stats_enabled())) return; in Begin()
/third_party/node/deps/v8/src/builtins/
H A Dbuiltins-typed-array.cc30 if (V8_LIKELY(num->IsSmi())) { in CapRelativeIndex()
60 if (V8_LIKELY(args.length() > 1)) { in BUILTIN()

Completed in 16 milliseconds

1234