Home
last modified time | relevance | path

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

12

/external/v8/src/
Dcounters-inl.h66 if (V8_UNLIKELY(FLAG_runtime_stats)) { in RuntimeCallTimerScope()
78 if (V8_UNLIKELY(FLAG_runtime_stats)) { in RuntimeCallTimerScope()
Darguments.h100 if (V8_UNLIKELY(FLAG_runtime_stats)) { \
Dcounters.h891 if (V8_UNLIKELY(FLAG_runtime_stats)) { \
915 if (V8_UNLIKELY(stats_ != nullptr)) { in ~RuntimeCallTimerScope()
Dvalue-serializer.cc246 if (V8_UNLIKELY(new_size > buffer_capacity_)) { in ReserveRawBytes()
1064 if (result.ToHandle(&object) && V8_UNLIKELY(object->IsJSArrayBuffer()) && in ReadObject()
Daccessors.cc184 if (!was_readonly && V8_UNLIKELY(JSArray::HasReadOnlyLength(array)) && in ArrayLengthSetter()
/external/v8/src/builtins/
Dbuiltins-typedarray.cc158 if (V8_UNLIKELY(!std::isfinite(fp))) { in CapRelativeIndex()
179 if (V8_UNLIKELY(array->WasNeutered())) return *array; in BUILTIN()
214 if (V8_UNLIKELY(array->WasNeutered())) return *array; in BUILTIN()
Dbuiltins-utils.h99 if (V8_UNLIKELY(FLAG_runtime_stats)) { \
Dbuiltins-array.cc680 if (V8_UNLIKELY(!array->HasFastElements() || in BUILTIN()
742 if (V8_UNLIKELY( in BUILTIN()
/external/v8/src/runtime/
Druntime-i18n.cc942 if (V8_UNLIKELY(ch == sharp_s)) { in ToUpperOneByte()
946 if (V8_UNLIKELY(ch == 0xB5 || ch == 0xFF)) { in ToUpperOneByte()
975 if (V8_UNLIKELY(IsASCIIUpper(ch) || ch & ~0x7F)) { in FindFirstUpperOrNonAscii()
1083 if (V8_UNLIKELY(!is_result_single_byte)) { in ConvertToUpper()
1145 if (V8_UNLIKELY(lang_arg->length() > 2)) in RUNTIME_FUNCTION()
1159 if (V8_UNLIKELY(c1 == 't' && c2 == 'r')) in RUNTIME_FUNCTION()
1161 if (V8_UNLIKELY(c1 == 'e' && c2 == 'l')) in RUNTIME_FUNCTION()
1163 if (V8_UNLIKELY(c1 == 'l' && c2 == 't')) in RUNTIME_FUNCTION()
1165 if (V8_UNLIKELY(c1 == 'a' && c2 == 'z')) in RUNTIME_FUNCTION()
Druntime-typedarray.cc406 if (V8_UNLIKELY(array->WasNeutered())) return *array; in RUNTIME_FUNCTION()
/external/v8/include/
Dv8config.h357 # define V8_UNLIKELY(condition) (__builtin_expect(!!(condition), 0)) macro
360 # define V8_UNLIKELY(condition) (condition) macro
Dv8.h7833 if (V8_UNLIKELY(!IsJust())) V8::FromJustIsNothing(); in FromJust()
8692 if (V8_UNLIKELY(val_ == nullptr)) V8::ToLocalEmpty();
8863 if (V8_UNLIKELY(handle.IsEmpty())) {
8874 if (V8_UNLIKELY(handle.IsEmpty())) {
8885 if (V8_UNLIKELY(handle.IsEmpty())) {
/external/v8/src/ic/
Dhandler-compiler.cc100 if (V8_UNLIKELY(FLAG_runtime_stats)) { in CompileLoadCallback()
112 if (V8_UNLIKELY(FLAG_runtime_stats)) { in CompileLoadCallback()
328 if (V8_UNLIKELY(FLAG_runtime_stats)) { in CompileStoreCallback()
Dic.cc2992 if (V8_UNLIKELY(FLAG_ic_stats)) { in ToBoolean()
3035 if (V8_UNLIKELY(FLAG_runtime_stats)) { in RUNTIME_FUNCTION()
/external/v8/src/heap/
Dgc-tracer.cc32 if (V8_UNLIKELY(FLAG_runtime_stats)) { in Scope()
43 if (V8_UNLIKELY(FLAG_runtime_stats)) { in ~Scope()
207 if (V8_UNLIKELY(FLAG_runtime_stats)) { in Start()
307 if (V8_UNLIKELY(FLAG_runtime_stats)) { in Stop()
/external/v8/src/base/
Dlogging.h48 if (V8_UNLIKELY(!(condition))) { \
/external/v8/src/compiler/
Dstore-store-elimination.cc32 if (V8_UNLIKELY(!(condition))) { \
Daccess-info.cc379 if (V8_UNLIKELY(FLAG_runtime_stats)) return false; in ComputePropertyAccessInfo()
Djs-call-reducer.cc270 if (V8_UNLIKELY(FLAG_runtime_stats)) return false; in CanInlineApiCall()
/external/v8/src/tracing/
Dtrace-event.h578 if (V8_UNLIKELY(p_data_ && *data_.category_group_enabled)) { in ~CallStatsScopedTracer()
/external/v8/src/compiler-dispatcher/
Dcompiler-dispatcher.cc594 if (V8_UNLIKELY(block_for_testing_.Value())) { in DoBackgroundWork()
/external/v8/src/interpreter/
Dinterpreter.cc54 if (V8_UNLIKELY(FLAG_runtime_stats)) { in TimerScope()
60 if (V8_UNLIKELY(FLAG_runtime_stats)) { in TimerScope()
66 if (V8_UNLIKELY(FLAG_runtime_stats)) { in ~TimerScope()
259 if (V8_UNLIKELY(FLAG_runtime_stats && executed_on_background_thread())) { in FinalizeJobImpl()
/external/v8/src/wasm/
Dwasm-interpreter.cc1231 if (V8_UNLIKELY(break_flags_ & WasmInterpreter::BreakFlag::flag)) max = 0; in Execute()
1239 if (V8_UNLIKELY(opcode == kInternalBreakpoint)) { in Execute()
/external/v8/src/parsing/
Dscanner.cc383 if (V8_UNLIKELY(next_next_.token != Token::UNINITIALIZED)) { in Next()
Dparser-base.h1351 if (V8_UNLIKELY(is_async_function())) { in BuildReturnStatement()
3174 if (V8_UNLIKELY(is_async && impl()->IsIdentifier(result))) { in ParseLeftHandSideExpression()
4776 if (V8_UNLIKELY(allow_harmony_async_iteration() && is_async_function() && in ParseStatement()

12