Home
last modified time | relevance | path

Searched refs:V8_UNLIKELY (Results 1 – 25 of 98) sorted by relevance

1234

/third_party/node/deps/v8/src/execution/
Dtiering-manager.cc178 return V8_UNLIKELY(FLAG_maglev) && CodeKindIsUnoptimizedJSFunction(code_kind); in TiersUpToMaglev()
220 if (V8_UNLIKELY(!FLAG_use_osr)) return; in TrySetOsrUrgency()
221 if (V8_UNLIKELY(!shared.IsUserJavaScript())) return; in TrySetOsrUrgency()
222 if (V8_UNLIKELY(shared.optimization_disabled())) return; in TrySetOsrUrgency()
227 if (V8_UNLIKELY(FLAG_trace_osr)) { in TrySetOsrUrgency()
276 if (V8_UNLIKELY(IsInProgress(tiering_state)) || in MaybeOptimizeFrame()
277 V8_UNLIKELY(IsInProgress(osr_tiering_state))) { in MaybeOptimizeFrame()
284 if (V8_UNLIKELY(FLAG_testing_d8_test_runner) && in MaybeOptimizeFrame()
292 if (V8_UNLIKELY(function.shared().optimization_disabled())) return; in MaybeOptimizeFrame()
294 if (V8_UNLIKELY(FLAG_always_osr)) { in MaybeOptimizeFrame()
[all …]
/third_party/node/deps/v8/src/builtins/
Dbuiltins-typed-array.cc85 if (V8_UNLIKELY(array->WasDetached())) { in BUILTIN()
92 if (V8_UNLIKELY(array->is_backed_by_rab())) { in BUILTIN()
178 if (V8_UNLIKELY(array->WasDetached())) { in BUILTIN()
185 if (V8_UNLIKELY(array->IsVariableLength())) { in BUILTIN()
258 if (V8_UNLIKELY(array->WasDetached())) return Smi::FromInt(-1); in BUILTIN()
260 if (V8_UNLIKELY(array->IsVariableLength() && array->IsOutOfBounds())) { in BUILTIN()
296 if (V8_UNLIKELY(array->WasDetached())) return Smi::FromInt(-1); in BUILTIN()
297 if (V8_UNLIKELY(array->IsVariableLength() && array->IsOutOfBounds())) { in BUILTIN()
Dbuiltins-sharedarraybuffer.cc167 if (V8_UNLIKELY(!sta->GetBuffer()->is_shared())) { in BUILTIN()
191 if (V8_UNLIKELY(!sta->GetBuffer()->is_shared())) { in DoWait()
/third_party/node/deps/v8/src/deoptimizer/
Dtranslation-array.cc30 if (V8_UNLIKELY(FLAG_turbo_compress_translation_arrays)) { in TranslationArrayIterator()
50 if (V8_UNLIKELY(FLAG_turbo_compress_translation_arrays)) { in Next()
60 if (V8_UNLIKELY(FLAG_turbo_compress_translation_arrays)) { in HasNext()
68 if (V8_UNLIKELY(FLAG_turbo_compress_translation_arrays)) { in Add()
77 if (V8_UNLIKELY(FLAG_turbo_compress_translation_arrays)) { in ToTranslationArray()
Dtranslation-array.h110 return V8_UNLIKELY(FLAG_turbo_compress_translation_arrays) in Size()
115 return V8_UNLIKELY(FLAG_turbo_compress_translation_arrays) in SizeInBytes()
/third_party/node/deps/v8/include/cppgc/internal/
Dlogging.h26 if (V8_UNLIKELY(!(condition))) { \
40 if (V8_UNLIKELY(!(condition))) { \
Dwrite-barrier.h172 if (V8_UNLIKELY(params.caged_heap().is_incremental_marking_in_progress)) { in GetNoSlot()
261 if (V8_UNLIKELY(!subtle::HeapState::IsMarking(handle))) {
330 if (V8_UNLIKELY(WriteBarrier::IsAnyIncrementalOrConcurrentMarking())) {
/third_party/node/deps/v8/src/objects/
Dcode-inl.h386 return V8_UNLIKELY(is_off_heap_trampoline()) in InstructionSize()
396 return V8_UNLIKELY(is_off_heap_trampoline()) in InstructionStart()
406 return V8_UNLIKELY(is_off_heap_trampoline()) in InstructionEnd()
416 return V8_UNLIKELY(is_off_heap_trampoline()) in InstructionStart()
422 return V8_UNLIKELY(is_off_heap_trampoline()) in InstructionEnd()
439 return V8_UNLIKELY(is_off_heap_trampoline()) in MetadataSize()
454 return V8_UNLIKELY(is_off_heap_trampoline()) in SafepointTableAddress()
467 return V8_UNLIKELY(is_off_heap_trampoline()) in HandlerTableAddress()
815 return V8_UNLIKELY(is_off_heap_trampoline()) in constant_pool()
821 return V8_UNLIKELY(is_off_heap_trampoline()) in code_comments()
[all …]
Djs-array-buffer-inl.h54 if V8_UNLIKELY (is_shared() && is_resizable()) { in GetByteLength()
332 if (V8_UNLIKELY(!receiver->IsJSTypedArray())) { in Validate()
338 if (V8_UNLIKELY(array->WasDetached())) { in Validate()
345 if (V8_UNLIKELY(array->IsVariableLength() && array->IsOutOfBounds())) { in Validate()
/third_party/node/deps/v8/src/zone/
Dzone.h62 if (V8_UNLIKELY(TracingFlags::is_zone_stats_enabled())) { in Allocate()
68 if (V8_UNLIKELY(size > limit_ - position_)) { in Allocate()
88 if (V8_UNLIKELY(TracingFlags::is_zone_stats_enabled())) { in Delete()
/third_party/node/deps/v8/include/
Dv8-maybe.h44 if (V8_UNLIKELY(!IsJust())) api_internal::FromJustIsNothing(); in Check()
61 if (V8_UNLIKELY(!IsJust())) api_internal::FromJustIsNothing(); in FromJust()
Dv8-function-callback.h262 if (V8_UNLIKELY(handle.IsEmpty())) { in Set()
273 if (V8_UNLIKELY(handle.IsEmpty())) { in Set()
285 if (V8_UNLIKELY(handle.IsEmpty())) { in Set()
Dv8config.h485 # define V8_UNLIKELY(condition) (__builtin_expect(!!(condition), 0)) macro
488 # define V8_UNLIKELY(condition) (condition) macro
/third_party/node/deps/v8/src/wasm/
Ddecoder.h73 if (V8_UNLIKELY(pc > end_ || length > static_cast<uint32_t>(end_ - pc))) { in validate_size()
159 if (validate && V8_UNLIKELY(index > 0xff)) {
234 if (V8_UNLIKELY(size > static_cast<uint32_t>(end_ - pc_))) { in checkAvailable()
463 if (validate && V8_UNLIKELY(at_end || (b & 0x80))) { in read_leb_tail()
489 } else if (V8_UNLIKELY(!valid_extra_bits)) { in read_leb_tail()
Dmodule-decoder.cc587 if (V8_UNLIKELY(supertype >= module_->types.size())) { in check_supertype()
606 } else if (V8_UNLIKELY(super_type != HeapType::kFunc)) { in consume_nominal_type_definition()
619 } else if (V8_UNLIKELY(super_type != HeapType::kData)) { in consume_nominal_type_definition()
632 } else if (V8_UNLIKELY(super_type != HeapType::kData)) { in consume_nominal_type_definition()
1760 if (V8_UNLIKELY(flags > kWithMaximum)) { in validate_table_flags()
1863 if (V8_UNLIKELY(!IsSubtypeOf(found, expected, module_.get()))) { \ in consume_init_expr()
1884 if (V8_UNLIKELY(failed())) return {}; in consume_init_expr()
1895 if (V8_UNLIKELY(failed())) return {}; in consume_init_expr()
1897 if (V8_UNLIKELY(index >= module_->functions.size())) { in consume_init_expr()
1916 if (V8_UNLIKELY(failed())) return {}; in consume_init_expr()
[all …]
/third_party/node/deps/v8/src/heap/
Dmark-compact-inl.h28 if (V8_UNLIKELY(FLAG_track_retaining_path)) { in MarkObject()
37 if (V8_UNLIKELY(FLAG_track_retaining_path)) { in MarkRootObject()
53 if (V8_UNLIKELY(FLAG_track_retaining_path)) { in MarkExternallyReferencedObject()
Dmarking-barrier-inl.h38 if (V8_UNLIKELY(FLAG_track_retaining_path)) { in MarkValue()
/third_party/node/deps/v8/src/parsing/
Dscanner.cc282 if (V8_UNLIKELY(static_cast<uint32_t>(c0) > kMaxAscii)) { in SkipMultiLineComment()
461 if (V8_UNLIKELY(static_cast<uint32_t>(c0) > kMaxAscii)) { in ScanString()
462 if (V8_UNLIKELY(unibrow::IsStringLiteralLineTerminator(c0))) { in ScanString()
477 if (V8_UNLIKELY(c0_ == kEndOfInput || !ScanEscape<false>())) { in ScanString()
487 if (V8_UNLIKELY(c0_ == kEndOfInput || in ScanString()
Dparser-base.h904 if (V8_UNLIKELY(next != token)) { in Expect()
955 if (V8_UNLIKELY(scanner()->CurrentSymbol(ast_value_factory()) != name)) {
958 if (V8_UNLIKELY(scanner()->literal_contains_escapes())) {
1661 if (V8_UNLIKELY(impl()->IsArguments(prop_info->name) && in ClassifyPropertyIdentifier()
1693 if (V8_UNLIKELY(impl()->IsArguments(name) && in ParseAndClassifyIdentifier()
1742 V8_UNLIKELY(impl()->IsEvalOrArguments(result))) { in ParseNonRestrictedIdentifier()
1859 if (V8_UNLIKELY(is_strict(language_mode()) && in ParseBindingPattern()
1912 if (V8_UNLIKELY(token == Token::ASYNC && in ParsePrimaryExpression()
1926 if (V8_UNLIKELY(peek() == Token::ARROW)) { in ParsePrimaryExpression()
2062 if (V8_UNLIKELY(peek() == Token::ELLIPSIS)) { in ParseExpressionCoverGrammar()
[all …]
Dpreparser.cc281 if (V8_UNLIKELY(FLAG_log_function_events)) timer.Start(); in ParseFunctionLiteral()
343 if (V8_UNLIKELY(FLAG_log_function_events)) { in ParseFunctionLiteral()
Dparser.cc544 if (V8_UNLIKELY(FLAG_log_function_events)) timer.Start(); in ParseProgram()
562 if (V8_UNLIKELY(FLAG_log_function_events) && result != nullptr) { in ParseProgram()
839 if (V8_UNLIKELY(FLAG_log_function_events)) timer.Start(); in ParseFunction()
887 if V8_UNLIKELY (script->type() == Script::TYPE_WEB_SNAPSHOT) { in ParseFunction()
903 if (V8_UNLIKELY(shared_info->private_name_lookup_skips_outer_class() && in ParseFunction()
925 if (V8_UNLIKELY(FLAG_log_function_events) && result != nullptr) { in ParseFunction()
1258 if (V8_UNLIKELY(!Check(Token::COMMA))) { in ParseExportClause()
1405 if (V8_UNLIKELY(!Check(Token::COMMA))) { in ParseImportAssertClause()
2696 if (V8_UNLIKELY(FLAG_log_function_events)) timer.Start(); in ParseFunctionLiteral()
2744 if (!is_wrapped && V8_UNLIKELY(!Check(Token::LPAREN))) { in ParseFunctionLiteral()
[all …]
/third_party/node/deps/v8/src/heap/cppgc-js/
Dunified-heap-marking-state-inl.h51 if (V8_UNLIKELY(track_retaining_path_)) { in MarkAndPush()
/third_party/node/deps/v8/src/handles/
Dhandles-inl.h98 if (V8_UNLIKELY(isolate_ == nullptr)) return; in ~HandleScope()
126 if (V8_UNLIKELY(current->limit != prev_limit)) { in CloseScope()
/third_party/node/deps/v8/src/json/
Djson-parser.cc355 if (V8_UNLIKELY(digit < 0)) return kInvalidUnicodeCharacter; in ScanUnicodeCharacter()
923 if (V8_UNLIKELY(IsDecimalDigit(c))) { in ParseJsonNumber()
934 if (V8_UNLIKELY(smi_start == cursor_)) { in ParseJsonNumber()
1131 if (sizeof(Char) == 2 && V8_UNLIKELY(c > unibrow::Latin1::kMaxChar)) { in ScanJsonString()
1138 if (V8_UNLIKELY(is_at_end())) { in ScanJsonString()
1157 if (V8_UNLIKELY(!base::IsInRange( in ScanJsonString()
/third_party/node/deps/v8/src/wasm/baseline/
Dliftoff-compiler.cc388 if (V8_UNLIKELY(size > kInlineStorage)) { in MakeKinds()
708 if (V8_UNLIKELY(for_debugging_)) { in StackCheck()
908 if (V8_UNLIKELY(debug_sidetable_builder_)) { in StartFunctionBody()
954 if (V8_UNLIKELY(ool->spilled_registers != nullptr)) { in GenerateOutOfLineCode()
992 if (V8_UNLIKELY(ool->debug_sidetable_entry_builder)) { in GenerateOutOfLineCode()
1001 if (V8_UNLIKELY(ool->spilled_registers != nullptr)) { in GenerateOutOfLineCode()
1111 if (V8_UNLIKELY(max_steps_ != nullptr)) { in EmitDebuggingInfo()
1137 if (V8_UNLIKELY(for_debugging_)) EmitDebuggingInfo(decoder, opcode); in NextInstruction()
1565 if (V8_UNLIKELY(nondeterminism_)) { in EmitUnOp()
1821 if (V8_UNLIKELY(nondeterminism_)) { in EmitBinOp()
[all …]

1234