Home
last modified time | relevance | path

Searched refs:GotoIfNot (Results 1 – 25 of 36) sorted by relevance

12

/external/v8/src/builtins/
Dbuiltins-proxy-gen.cc19 GotoIfNot(IsJSProxy(object), &proxy_not_revoked); in GotoIfRevokedProxy()
180 GotoIfNot(IsJSReceiver(target), &throw_proxy_non_object); in TF_BUILTIN()
184 GotoIfNot(IsJSReceiver(handler), &throw_proxy_non_object); in TF_BUILTIN()
218 GotoIfNot(IsJSReceiver(target), &throw_proxy_non_object); in TF_BUILTIN()
222 GotoIfNot(IsJSReceiver(handler), &throw_proxy_non_object); in TF_BUILTIN()
302 GotoIfNot(IsJSReceiver(handler), &throw_proxy_handler_revoked); in TF_BUILTIN()
355 GotoIfNot(IsJSReceiver(handler), &throw_proxy_handler_revoked); in TF_BUILTIN()
380 GotoIfNot(IsJSReceiver(new_obj), &not_an_object); in TF_BUILTIN()
428 GotoIfNot(IsJSReceiver(handler), &throw_proxy_handler_revoked); in TF_BUILTIN()
439 GotoIfNot(IsCallable(trap), &trap_not_callable); in TF_BUILTIN()
[all …]
Dbuiltins-async-gen.cc101 GotoIfNot(IsPromiseHookEnabledOrHasAsyncEventDelegate(), &next); in Await()
116 GotoIfNot(IsDebugActive(), &do_perform_promise_then); in Await()
120 GotoIfNot(HasInstanceType(value, JS_PROMISE_TYPE), &common); in Await()
218 GotoIfNot(IsPromiseHookEnabledOrHasAsyncEventDelegate(), &next); in AwaitOptimized()
230 GotoIfNot(IsDebugActive(), &do_perform_promise_then); in AwaitOptimized()
234 GotoIfNot(HasInstanceType(value, JS_PROMISE_TYPE), &common); in AwaitOptimized()
Dbuiltins-number-gen.cc83 GotoIfNot(IsHeapNumber(number), &return_false); in TF_BUILTIN()
118 GotoIfNot(IsHeapNumber(number), &return_false); in TF_BUILTIN()
275 GotoIfNot(Float64LessThan(input_value_abs, Float64Constant(1u << 31)), in TF_BUILTIN()
350 GotoIfNot(IsJSReceiverInstanceType(instance_type), &is_not_receiver); in ConvertAndLoop()
412 GotoIfNot(IsHeapNumberMap(right_map), &if_right_not_number); in TF_BUILTIN()
439 GotoIfNot(IsHeapNumberMap(left_map), &if_left_not_number); in TF_BUILTIN()
467 GotoIfNot(IsHeapNumberMap(right_map), &if_right_not_number); in TF_BUILTIN()
497 GotoIfNot(IsJSReceiverInstanceType(left_instance_type), in TF_BUILTIN()
512 GotoIfNot(IsJSReceiverInstanceType(right_instance_type), in TF_BUILTIN()
574 GotoIfNot(IsHeapNumber(input), &not_number); in UnaryOp()
[all …]
Dbuiltins-promise-gen.cc59 GotoIfNot(IsPromiseHookEnabledOrHasAsyncEventDelegate(), &out); in AllocateAndInitJSPromise()
83 GotoIfNot(IsPromiseHookEnabledOrHasAsyncEventDelegate(), &out); in AllocateAndSetJSPromise()
123 GotoIfNot(IsConstructorMap(LoadMap(constructor)), &if_not_constructor); in TF_BUILTIN()
177 GotoIfNot(IsCallable(resolve), &if_notcallable); in TF_BUILTIN()
182 GotoIfNot(IsCallable(reject), &if_notcallable); in TF_BUILTIN()
632 GotoIfNot(WordEqual(promise_fun, constructor), if_slow); in BranchIfPromiseResolveLookupChainIntact()
644 GotoIfNot(WordEqual(LoadMapPrototype(promise_map), promise_prototype), in BranchIfPromiseSpeciesLookupChainIntact()
655 GotoIfNot(IsJSPromiseMap(receiver_map), if_slow); in BranchIfPromiseThenLookupChainIntact()
658 GotoIfNot(WordEqual(LoadMapPrototype(receiver_map), promise_prototype), in BranchIfPromiseThenLookupChainIntact()
678 GotoIfNot(InstanceTypeEqual(executor_type, JS_BOUND_FUNCTION_TYPE), in BranchIfAccessCheckFailed()
[all …]
Dbuiltins-call-gen.cc158 GotoIfNot(IsPrototypeInitialArrayPrototype(context, arguments_list_map), in CallOrConstructWithArrayLike()
171 GotoIfNot(WordEqual(length, elements_length), &if_runtime); in CallOrConstructWithArrayLike()
197 GotoIfNot(Word32Equal(length, Int32Constant(0)), &normalize_done); in CallOrConstructWithArrayLike()
290 GotoIfNot(IsJSArrayMap(spread_map), &if_generic); in CallOrConstructWithSpread()
294 GotoIfNot(IsPrototypeInitialArrayPrototype(context, spread_map), &if_generic); in CallOrConstructWithSpread()
327 GotoIfNot(TaggedIsCallable(iterator_fn), &if_iterator_fn_not_callable); in CallOrConstructWithSpread()
Dbuiltins-regexp-gen.cc454 GotoIfNot(TaggedIsSmi(var_code.value()), &next); in RegExpExecInternal()
709 GotoIfNot(TaggedIsSmi(var_lastindex.value()), &if_isoob); in RegExpPrototypeExecBodyWithoutResult()
711 GotoIfNot(SmiLessThanOrEqual(CAST(var_lastindex.value()), string_length), in RegExpPrototypeExecBodyWithoutResult()
745 GotoIfNot(IsNull(match_indices), &successful_match); in RegExpPrototypeExecBodyWithoutResult()
747 GotoIfNot(should_update_last_index, if_didnotmatch); in RegExpPrototypeExecBodyWithoutResult()
755 GotoIfNot(should_update_last_index, &out); in RegExpPrototypeExecBodyWithoutResult()
843 GotoIfNot(has_initialmap, &out); in IsFastRegExpNoPrototype()
872 GotoIfNot(is_regexp, &out); in IsFastRegExpWithOriginalExec()
886 GotoIfNot(is_undefined, &out); in IsFastRegExpWithOriginalExec()
929 GotoIfNot(has_initialmap, if_ismodified); in BranchIfFastRegExp()
[all …]
Dbuiltins-array-gen.cc527 GotoIfNot(HasInstanceType(CAST(receiver_), JS_TYPED_ARRAY_TYPE), in GenerateIteratingTypedArrayBuiltinBody()
843 GotoIfNot( in GenerateArraySpeciesCreate()
847 GotoIfNot(IsPrototypeInitialArrayPrototype(context(), original_map), in GenerateArraySpeciesCreate()
859 GotoIfNot(IsFastElementsKind(elements_kind), &runtime); in GenerateArraySpeciesCreate()
888 GotoIfNot( in GenerateArraySpeciesCreate()
892 GotoIfNot(IsPrototypeInitialArrayPrototype(context(), original_map), in GenerateArraySpeciesCreate()
901 GotoIfNot(TaggedIsPositiveSmi(len), &runtime); in GenerateArraySpeciesCreate()
1183 GotoIfNot(IsJSArrayMap(map), &try_fast_arguments); in HandleFastSlice()
1186 GotoIfNot(IsPrototypeInitialArrayPrototype(context, map), slow); in HandleFastSlice()
1194 GotoIfNot(IsFastElementsKind(elements_kind), &try_simple_slice); in HandleFastSlice()
[all …]
Dbuiltins-function-gen.cc33 GotoIfNot( in TF_BUILTIN()
72 GotoIfNot(IsAccessorInfoMap(length_value_map), &slow); in TF_BUILTIN()
84 GotoIfNot(IsAccessorInfoMap(name_value_map), &slow); in TF_BUILTIN()
Dbuiltins-intl-gen.cc56 GotoIfNot(IsOneByteStringInstanceType(instance_type), &runtime); in TF_BUILTIN()
99 GotoIfNot(var_did_change.value(), &return_string); in TF_BUILTIN()
167 GotoIfNot(IsUndefined(list), &has_list); in ListFormatCommon()
Dbuiltins-string-gen.cc199 GotoIfNot(Word32Equal(Word32And(both_instance_types, in StringEqual_Core()
371 GotoIfNot(TaggedIsSmi(position), &if_outofbounds); in GenerateStringAt()
374 GotoIfNot(UintPtrLessThan(index, length), &if_outofbounds); in GenerateStringAt()
835 GotoIfNot(IntPtrLessThanOrEqual(search_length, in StringIndexOf()
1049 GotoIfNot(TaggedIsSmi(var_position.value()), &call_runtime); in Generate()
1059 GotoIfNot(IsString(receiver), &call_runtime); in Generate()
1060 GotoIfNot(IsString(search), &call_runtime); in Generate()
1111 GotoIfNot(IsStringInstanceType(LoadMapInstanceType(object_map)), &next); in MaybeCallFunctionAtSymbol()
1136 GotoIfNot(IsString(maybe_string), &slow_lookup); in MaybeCallFunctionAtSymbol()
1244 GotoIfNot(TaggedIsSmi(var_count.value()), &if_count_isheapnumber); in TF_BUILTIN()
[all …]
Dbuiltins-iterator-gen.cc92 GotoIfNot(WordEqual(result_map, fast_iterator_result_map), &if_generic); in IteratorStep()
105 GotoIfNot(IsJSReceiverMap(result_map), &if_notobject); in IteratorStep()
138 GotoIfNot(WordEqual(map, fast_iterator_result_map), &if_generic); in IteratorValue()
Dbuiltins-typed-array-gen.cc156 GotoIfNot(WordEqual(buffer_constructor, default_constructor), in TF_BUILTIN()
522 GotoIfNot(IsDetachedBuffer(source_buffer), &construct); in ConstructByTypedArray()
713 GotoIfNot(IsCallable(CAST(iteratorFn)), &if_iteratornotcallable); in TF_BUILTIN()
874 GotoIfNot(IsPrototypeTypedArrayPrototype(context, map), &slow); in TypedArraySpeciesConstructor()
927 GotoIfNot(SmiLessThan(new_length, len), &if_length_is_not_short); in CreateByLength()
1012 GotoIfNot(IsUint8ElementsKind(source_el_kind), &fast_c_call); in SetTypedArraySource()
1192 GotoIfNot(IsJSTypedArray(CAST(receiver)), &if_receiver_is_not_typedarray); in TF_BUILTIN()
1206 GotoIfNot(TaggedIsPositiveSmi(offset_num), &if_offset_is_out_of_bounds); in TF_BUILTIN()
1311 GotoIfNot(Word32Equal(source_el_kind, target_el_kind), &call_c); in TF_BUILTIN()
1494 GotoIfNot(IsJSTypedArray(CAST(receiver)), &throw_bad_receiver); in GenerateTypedArrayPrototypeIterationMethod()
[all …]
Dbuiltins-date-gen.cc32 GotoIfNot(InstanceTypeEqual(receiver_instance_type, JS_DATE_TYPE), in Generate_DatePrototype_GetField()
189 GotoIfNot(IsJSReceiver(receiver), &receiver_is_invalid); in TF_BUILTIN()
205 GotoIfNot(IsString(hint), &hint_is_invalid); in TF_BUILTIN()
Dbuiltins-object-gen.cc210 GotoIfNot(IsJSObjectMap(map), &if_call_runtime); in GetOwnValuesOrEntries()
217 GotoIfNot(IsEmptyFixedArray(elements), &if_call_runtime_with_fast_path); in GetOwnValuesOrEntries()
343 GotoIfNot(IsPropertyEnumerable(details), &next_descriptor); in FastGetOwnValuesOrEntries()
554 GotoIfNot(IsStringInstanceType(from_instance_type), &done); in ObjectAssignFast()
569 GotoIfNot(IsJSObjectInstanceType(from_instance_type), slow); in ObjectAssignFast()
573 GotoIfNot(IsEmptyFixedArray(LoadElements(CAST(from))), slow); in ObjectAssignFast()
815 GotoIfNot(WordEqual(object_enum_length, number_descriptors), &if_slow); in TF_BUILTIN()
936 GotoIfNot(IsJSReceiver(value), &if_valueisnotreceiver); in TF_BUILTIN()
1214 GotoIfNot(IsString(tag), &return_default); in TF_BUILTIN()
1325 GotoIfNot(WordEqual(LoadElements(properties), in TF_BUILTIN()
[all …]
Dbuiltins-async-iterator-gen.cc141 GotoIfNot(IsUndefined(method), &if_isnotundefined); in Generate_AsyncFromSyncIteratorMethod()
206 GotoIfNot(IsUndefined(method), &if_isnotundefined); in Generate_AsyncFromSyncIteratorMethodOptimized()
255 GotoIfNot(IsJSReceiverMap(iter_result_map), &if_notanobject); in LoadIteratorResult()
Dbuiltins-collections-gen.cc178 GotoIfNot( in AddConstructorEntries()
387 GotoIfNot(IsCallable(CAST(add_func)), &if_notcallable); in GetAddFunction()
463 GotoIfNot(IsJSReceiver(obj), if_not_receiver); in GotoIfNotJSReceiver()
834 GotoIfNot(IsHeapNumber(candidate_key), if_not_same); in SameValueZeroSmi()
948 GotoIfNot(IsString(candidate_key), if_not_same); in SameValueZeroString()
962 GotoIfNot(IsBigInt(candidate_key), if_not_same); in SameValueZeroBigInt()
977 GotoIfNot(IsHeapNumber(candidate_key), if_not_same); in SameValueZeroHeapNumber()
1009 GotoIfNot(SmiLessThan(SmiConstant(0), index), &return_zero); in TF_BUILTIN()
1025 GotoIfNot(IntPtrLessThan(i, number_of_deleted_elements), &return_index); in TF_BUILTIN()
1121 GotoIfNot(IntPtrLessThan(var_index.value(), used_capacity), if_end); in NextSkipHoles()
[all …]
Dbuiltins-async-generator-gen.cc444 GotoIfNot(IsGeneratorStateSuspendedAtStart(var_state.value()), in TF_BUILTIN()
469 GotoIfNot(IsGeneratorStateClosed(var_state.value()), &resume_generator); in TF_BUILTIN()
478 GotoIfNot(IsGeneratorStateClosed(var_state.value()), &resume_generator); in TF_BUILTIN()
Dbuiltins-wasm-gen.cc98 GotoIfNot(num_pages_fits_in_smi, &num_pages_out_of_range); in TF_BUILTIN()
/external/v8/src/ic/
Dbinary-op-assembler.cc49 GotoIfNot(IsHeapNumber(rhs), &check_rhsisoddball); in Generate_AddWithFeedback()
88 GotoIfNot(IsHeapNumber(lhs), &if_lhsisnotnumber); in Generate_AddWithFeedback()
98 GotoIfNot(IsHeapNumber(rhs), &check_rhsisoddball); in Generate_AddWithFeedback()
161 GotoIfNot(IsStringInstanceType(rhs_instance_type), in Generate_AddWithFeedback()
249 GotoIfNot(IsHeapNumber(rhs), &check_rhsisoddball); in Generate_BinaryOperationWithFeedback()
271 GotoIfNot(IsHeapNumber(lhs), &if_lhsisnotnumber); in Generate_BinaryOperationWithFeedback()
281 GotoIfNot(IsHeapNumber(rhs), &check_rhsisoddball); in Generate_BinaryOperationWithFeedback()
334 GotoIfNot(IsHeapNumber(rhs), &check_rhsisoddball); in Generate_BinaryOperationWithFeedback()
356 GotoIfNot(rhs_is_oddball, &call_with_any_feedback); in Generate_BinaryOperationWithFeedback()
Daccessor-assembler.cc391 GotoIfNot(allow_out_of_bounds, miss); in HandleLoadICSmiHandlerCase()
413 GotoIfNot(IsSetWord<LoadHandler::ConvertHoleBits>(handler_word), miss); in HandleLoadICSmiHandlerCase()
433 GotoIfNot(allow_out_of_bounds, miss); in HandleLoadICSmiHandlerCase()
798 GotoIfNot(IsJSGlobalProxy(receiver), miss); in EmitAccessCheck()
1584 GotoIfNot(TaggedIsSmi(value), bailout); in PrepareValueForStore()
1712 GotoIfNot(WordEqual(DecodeWord<StoreHandler::KindBits>(handler_word), in StoreNamedField()
1719 GotoIfNot(Float64Equal(current_value, value), bailout); in StoreNamedField()
1722 GotoIfNot(WordEqual(current_value, value), bailout); in StoreNamedField()
1759 GotoIfNot(UintPtrLessThan(intptr_index, var_length.value()), miss); in EmitFastElementsBoundsCheck()
1859 GotoIfNot(UintPtrLessThan(intptr_index, length), out_of_bounds); in EmitElementLoad()
[all …]
Dkeyed-store-generic.cc323 GotoIfNot(TaggedIsSmi(value), &non_smi_value); in StoreElementWithCapacity()
511 GotoIfNot(InstanceTypeEqual(instance_type, JS_TYPED_ARRAY_TYPE), &if_grow); in EmitGenericElementStore()
732 GotoIfNot(IsTransitionArrayMap(maybe_handler_map), slow); in EmitGenericPropertyStore()
844 GotoIfNot(IsCallableMap(setter_map), &not_callable); in EmitGenericPropertyStore()
1044 GotoIfNot(is_simple_receiver, &slow); in SetProperty()
/external/v8/src/compiler/
Deffect-control-linearizer.cc1130 __ GotoIfNot(check, &if_not_in_smi_range); in LowerChangeUint32ToTagged() local
1175 __ GotoIfNot( in TruncateTaggedPointerToBit()
1250 __ GotoIfNot(check, &if_not_smi); in LowerChangeTaggedToInt32() local
1270 __ GotoIfNot(check, &if_not_smi); in LowerChangeTaggedToUint32() local
1294 __ GotoIfNot(check, &if_not_smi); in LowerChangeTaggedToTaggedSigned() local
1315 __ GotoIfNot(check, &if_not_smi); in LowerTruncateTaggedToFloat64() local
1367 __ GotoIfNot(check, &migrate); in LowerCheckMaps() local
1466 __ GotoIfNot(check0, &if_not_smi); in LowerCheckNumber() local
1585 __ GotoIfNot(check0, &if_not_positive); in LowerCheckedInt32Div() local
1904 __ GotoIfNot(check, &if_not_smi); in LowerCheckedTaggedToInt32() local
[all …]
/external/v8/src/
Dcode-stub-assembler.cc408 GotoIfNot(Float64LessThan(var_x.value(), x), &return_x); in Float64Ceil()
417 GotoIfNot(Float64LessThan(x, zero), &return_x); in Float64Ceil()
422 GotoIfNot(Float64GreaterThan(var_x.value(), minus_x), &return_minus_x); in Float64Ceil()
460 GotoIfNot(Float64GreaterThan(var_x.value(), x), &return_x); in Float64Floor()
469 GotoIfNot(Float64LessThan(x, zero), &return_x); in Float64Floor()
474 GotoIfNot(Float64LessThan(var_x.value(), minus_x), &return_minus_x); in Float64Floor()
546 GotoIfNot(Float64GreaterThan(var_x.value(), x), &return_x); in Float64Trunc()
560 GotoIfNot(Float64LessThan(x, zero), &return_x); in Float64Trunc()
565 GotoIfNot(Float64GreaterThan(var_x.value(), minus_x), &return_minus_x); in Float64Trunc()
805 GotoIfNot(Word32Equal(int_a, Int32Constant(kMinInt)), &join); in SmiMod()
[all …]
/external/v8/src/interpreter/
Dinterpreter-assembler.cc951 GotoIfNot(IsWeakOrClearedHeapObject(feedback), &check_allocation_site); in Construct()
963 GotoIfNot(IsAllocationSite(strong_feedback), &check_initialized); in Construct()
968 GotoIfNot(WordEqual(target, array_function), &mark_megamorphic); in Construct()
969 GotoIfNot(WordEqual(new_target, array_function), &mark_megamorphic); in Construct()
1027 GotoIfNot(WordEqual(target, new_target), &store_weak_reference); in Construct()
1130 GotoIfNot(IsWeakOrClearedHeapObject(feedback), &check_initialized); in ConstructWithSpread()
1631 GotoIfNot(UintPtrLessThan(index, formal_parameter_count_intptr), in ExportParametersAndRegisterFile()
1657 GotoIfNot(UintPtrLessThan(index, register_count), &done_loop); in ExportParametersAndRegisterFile()
1697 GotoIfNot(UintPtrLessThan(index, register_count), &done_loop); in ImportRegisterFile()
1755 GotoIfNot(IsBigInt(object), &not_bigint); in ToNumberOrNumeric()
Dinterpreter-intrinsics-generator.cc280 __ GotoIfNot(comparison, &arg_count_positive); in Call() local
302 __ GotoIfNot(__ IsJSReceiver(sync_iterator), &not_receiver); in CreateAsyncFromSyncIterator()
379 __ GotoIfNot(__ IsTheHole(import_meta), &end); in GetImportMetaObject()

12