Home
last modified time | relevance | path

Searched refs:V8_LIKELY (Results 1 – 25 of 73) sorted by relevance

123

/third_party/node/deps/v8/src/zone/
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/
Dwrite-barrier.h213 if (V8_LIKELY(!WriteBarrier::IsAnyIncrementalOrConcurrentMarking())) {
221 if (V8_LIKELY(!params.caged_heap().is_incremental_marking_in_progress)) {
245 if (V8_LIKELY(!IsMarking(handle, params))) {
257 if (V8_LIKELY(!WriteBarrier::IsAnyIncrementalOrConcurrentMarking())) {
313 if (V8_LIKELY(!WriteBarrier::IsAnyIncrementalOrConcurrentMarking())) {
408 if (V8_LIKELY(age_table.GetAge(params.slot_offset) == AgeTable::Age::kYoung))
424 if (V8_LIKELY(age_table.GetAge(params.slot_offset) == AgeTable::Age::kYoung))
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/
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()
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/parsing/
Dscanner-inl.h265 if (V8_LIKELY(static_cast<uint32_t>(c0_) <= kMaxAscii)) { in ScanIdentifierOrKeywordInner()
266 if (V8_LIKELY(c0_ != '\\')) { in ScanIdentifierOrKeywordInner()
296 if (V8_LIKELY(!IdentifierNeedsSlowPath(scan_flags))) { in ScanIdentifierOrKeywordInner()
349 if (V8_LIKELY(static_cast<unsigned>(c0_) <= kMaxAscii)) { in ScanSingleToken()
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/src/strings/
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/heap/
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()
Dheap-inl.h106 return V8_LIKELY(map_space_) ? static_cast<PagedSpace*>(map_space_) in space_for_maps()
111 return V8_LIKELY(shared_map_allocator_) ? shared_map_allocator_.get() in concurrent_allocator_for_maps()
/third_party/node/deps/v8/src/runtime/
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/include/
Dv8config.h486 # define V8_LIKELY(condition) (__builtin_expect(!!(condition), 1)) macro
489 # define V8_LIKELY(condition) (condition) macro
Dv8-maybe.h52 if (V8_LIKELY(IsJust())) *out = value_; in To()
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/codegen/
Dassembler.cc149 if (V8_LIKELY(!tls_singleton_taken)) { in operator new()
157 if (V8_LIKELY(ptr == &tls_singleton_storage)) { in operator delete()
/third_party/node/deps/v8/src/heap/cppgc/
Dvisitor.cc57 if (V8_LIKELY(!heap_.caged_heap().IsOnHeap(address))) return; in TraceConservativelyIfNeeded()
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/wasm/
Dwasm-subtyping.h71 if (V8_LIKELY(subtype == supertype)) return true; in IsSubtypeOf()
Dfunction-body-decoder-impl.h48 (validate ? V8_LIKELY(condition) : [&] { \
2193 if (V8_LIKELY(current_code_reachable_and_ok_)) { \
2733 if (V8_LIKELY(current_code_reachable_and_ok_)) {
2769 if (V8_LIKELY(current_code_reachable_and_ok_)) {
2779 if (V8_LIKELY(current_code_reachable_and_ok_)) {
2966 if (V8_LIKELY(current_code_reachable_and_ok_)) {
2980 if (V8_LIKELY(current_code_reachable_and_ok_)) {
3026 if (V8_LIKELY(current_code_reachable_and_ok_)) {
3640 if (V8_LIKELY(stack_size() >= count + limit)) return 0;
4624 if (V8_LIKELY(current_code_reachable_and_ok_)) {
[all …]
Ddecoder.h408 if ((!validate || V8_LIKELY(pc < end_)) && !(*pc & 0x80)) {
446 if (V8_LIKELY(!at_end)) { in read_leb_tail()
/third_party/node/deps/v8/src/json/
Djson-parser.h215 if (V8_LIKELY(peek() == token)) { in Expect()
242 if (V8_LIKELY(remaining >= N - 1 && in ScanLiteral()
Djson-parser.cc341 JsonToken current = V8_LIKELY(c <= unibrow::Latin1::kMaxChar) in SkipWhitespace()
830 if (V8_LIKELY(Check(JsonToken::COMMA))) { in ParseJsonValue()
873 if (V8_LIKELY(Check(JsonToken::COMMA))) break; in ParseJsonValue()
1045 if (sizeof(Char) == 1 ? V8_LIKELY(!string.needs_conversion()) in MakeString()
/third_party/node/deps/v8/src/objects/
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/builtins/
Dbuiltins-typed-array.cc30 if (V8_LIKELY(num->IsSmi())) { in CapRelativeIndex()
60 if (V8_LIKELY(args.length() > 1)) { in BUILTIN()
/third_party/node/deps/v8/src/ic/
Dic-stats.cc24 if (V8_LIKELY(!TracingFlags::is_ic_stats_enabled())) return; in Begin()

123