Home
last modified time | relevance | path

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

12

/external/v8/src/
Dunicode-decoder.cc14 if (V8_UNLIKELY(char_ > Utf16::kMaxNonSurrogateCharCode)) { in operator *()
24 if (V8_UNLIKELY(this->Done())) { in operator ++()
29 if (V8_UNLIKELY(char_ > Utf16::kMaxNonSurrogateCharCode && !trailing_)) { in operator ++()
Dintl.cc99 if (V8_UNLIKELY(ch == sharp_s)) { in ToUpperOneByte()
103 if (V8_UNLIKELY(ch == 0xB5 || ch == 0xFF)) { in ToUpperOneByte()
132 if (V8_UNLIKELY(IsASCIIUpper(ch) || ch & ~0x7F)) { in FindFirstUpperOrNonAscii()
318 if (V8_UNLIKELY(!is_result_single_byte)) { in ConvertToUpper()
Darguments.h96 if (V8_UNLIKELY(FLAG_runtime_stats)) { \
Dcounters.h1080 if (V8_UNLIKELY(FLAG_runtime_stats) && runtime_call_stats) { \
1108 if (V8_UNLIKELY(stats_ != nullptr)) { in ~RuntimeCallTimerScope()
Dcompiler.cc963 if (V8_UNLIKELY(FLAG_runtime_stats)) { in BackgroundCompileTask()
975 if (V8_UNLIKELY(info->block_coverage_enabled())) { in BackgroundCompileTask()
Dvalue-serializer.cc287 if (V8_UNLIKELY(new_size > buffer_capacity_)) { in ReserveRawBytes()
1158 if (result.ToHandle(&object) && V8_UNLIKELY(object->IsJSArrayBuffer()) && in ReadObject()
/external/v8/src/builtins/
Dbuiltins-typed-array.cc35 if (V8_UNLIKELY(!std::isfinite(fp))) { in CapRelativeIndex()
89 if (V8_UNLIKELY(array->WasNeutered())) return *array; in BUILTIN()
152 if (V8_UNLIKELY(array->WasNeutered())) return *array; in BUILTIN()
188 if (V8_UNLIKELY(array->WasNeutered())) in BUILTIN()
220 if (V8_UNLIKELY(array->WasNeutered())) return Smi::FromInt(-1); in BUILTIN()
255 if (V8_UNLIKELY(array->WasNeutered())) return Smi::FromInt(-1); in BUILTIN()
Dbuiltins-utils.h86 if (V8_UNLIKELY(FLAG_runtime_stats)) { \
/external/v8/src/heap/
Dmark-compact-inl.h252 V8_UNLIKELY(FLAG_track_retaining_path)) { in MarkObjectWithoutPush()
268 V8_UNLIKELY(FLAG_track_retaining_path)) { in MarkObject()
354 if (V8_UNLIKELY(FLAG_track_retaining_path)) { in MarkObject()
363 if (V8_UNLIKELY(FLAG_track_retaining_path)) { in MarkRootObject()
382 if (V8_UNLIKELY(FLAG_track_retaining_path)) { in MarkExternallyReferencedObject()
Dscavenger-inl.h63 if (V8_UNLIKELY(is_logging_)) { in MigrateObject()
/external/v8/src/objects/
Djs-array-buffer-inl.h182 if (V8_UNLIKELY(!receiver->IsJSTypedArray())) { in Validate()
188 if (V8_UNLIKELY(array->WasNeutered())) { in Validate()
Dintl-objects.cc1596 if (!is_valid_lang_tag || V8_UNLIKELY(U_FAILURE(status))) { in IsStructurallyValidLanguageTag()
1636 if (V8_UNLIKELY(U_FAILURE(status))) { in IsStructurallyValidLanguageTag()
1650 if (V8_UNLIKELY(U_FAILURE(status))) { in IsStructurallyValidLanguageTag()
1682 if (V8_UNLIKELY(locale == "zh-min" || locale == "cel-gaulish")) return true; in IsGrandfatheredTagWithoutPreferredVaule()
1684 V8_UNLIKELY(locale[0] == 'i' && locale[1] == '-')) { in IsGrandfatheredTagWithoutPreferredVaule()
1993 if (V8_UNLIKELY(requested_locale.length() != 2)) { in StringLocaleConvertCase()
2000 if (V8_UNLIKELY((requested_locale == "tr") || (requested_locale == "el") || in StringLocaleConvertCase()
/external/v8/include/
Dv8config.h354 # define V8_UNLIKELY(condition) (__builtin_expect(!!(condition), 0)) macro
357 # define V8_UNLIKELY(condition) (condition) macro
/external/v8/src/parsing/
Dpreparser.cc286 if (V8_UNLIKELY(FLAG_log_function_events)) timer.Start(); in ParseFunctionLiteral()
353 if (V8_UNLIKELY(FLAG_log_function_events)) { in ParseFunctionLiteral()
Dparser.cc505 if (V8_UNLIKELY(FLAG_log_function_events)) timer.Start(); in ParseProgram()
517 if (V8_UNLIKELY(FLAG_log_function_events) && result != nullptr) { in ParseProgram()
697 if (V8_UNLIKELY(FLAG_log_function_events)) timer.Start(); in ParseFunction()
715 if (V8_UNLIKELY(FLAG_log_function_events) && result != nullptr) { in ParseFunction()
2551 if (V8_UNLIKELY(FLAG_log_function_events)) timer.Start(); in ParseFunctionLiteral()
2654 if (V8_UNLIKELY(FLAG_log_function_events)) { in ParseFunctionLiteral()
2666 if (V8_UNLIKELY(FLAG_runtime_stats)) { in ParseFunctionLiteral()
Dscanner-character-streams.cc120 while (V8_UNLIKELY(chunks_.empty())) FetchChunk(size_t{0}); in FindChunk()
/external/v8/src/wasm/
Ddecoder.h64 if (V8_UNLIKELY(length > static_cast<uint32_t>(end_ - pc))) { in validate_size()
172 if (V8_UNLIKELY(size > static_cast<uint32_t>(end_ - pc_))) { in checkAvailable()
Dfunction-compiler.cc65 if (V8_UNLIKELY(FLAG_wasm_tier_mask_for_testing) && index < 32 && in WasmCompilationUnit()
/external/v8/src/base/
Dlogging.h49 if (V8_UNLIKELY(!(condition))) { \
59 if (V8_UNLIKELY(!(condition))) { \
/external/v8/src/runtime/
Druntime-typedarray.cc119 if (V8_UNLIKELY(array->WasNeutered())) return *array; in RUNTIME_FUNCTION()
/external/v8/src/compiler-dispatcher/
Dunoptimized-compile-job.cc125 if (V8_UNLIKELY(FLAG_runtime_stats)) { in PrepareOnMainThread()
Dcompiler-dispatcher.cc541 if (V8_UNLIKELY(block_for_testing_.Value())) { in DoBackgroundWork()
/external/v8/src/compiler/
Dstore-store-elimination.cc32 if (V8_UNLIKELY(!(condition))) { \
Daccess-info.cc471 if (V8_UNLIKELY(FLAG_runtime_stats)) return false; in ComputePropertyAccessInfo()
/external/v8/src/tracing/
Dtrace-event.h679 if (V8_UNLIKELY(p_data_ && *data_.category_group_enabled)) { in ~CallStatsScopedTracer()

12