Lines Matching refs:should_throw
137 ShouldThrow GetShouldThrow(Isolate* isolate, Maybe<ShouldThrow> should_throw) { in GetShouldThrow() argument
138 if (should_throw.IsJust()) return should_throw.FromJust(); in GetShouldThrow()
1610 Maybe<ShouldThrow> should_throw) { in SetPropertyWithDefinedSetter() argument
2470 Maybe<ShouldThrow> should_throw) { in SetProperty() argument
2472 MAYBE_RETURN_NULL(SetProperty(&it, value, store_origin, should_throw)); in SetProperty()
2478 Maybe<ShouldThrow> should_throw, in SetPropertyInternal() argument
2497 should_throw); in SetPropertyInternal()
2508 value, receiver, should_throw); in SetPropertyInternal()
2514 JSObject::SetPropertyWithInterceptor(it, should_throw, value); in SetPropertyInternal()
2527 return WriteToReadOnlyProperty(it, value, should_throw); in SetPropertyInternal()
2543 return Object::SetSuperProperty(it, value, store_origin, should_throw); in SetPropertyInternal()
2548 return WriteToReadOnlyProperty(it, value, should_throw); in SetPropertyInternal()
2557 return SetPropertyWithAccessor(it, value, should_throw); in SetPropertyInternal()
2589 return WriteToReadOnlyProperty(it, value, should_throw); in SetPropertyInternal()
2607 LookupIterator* it, Maybe<ShouldThrow> should_throw) { in CheckContextualStoreToJSGlobalObject() argument
2611 (GetShouldThrow(isolate, should_throw) == ShouldThrow::kThrowOnError)) { in CheckContextualStoreToJSGlobalObject()
2628 Maybe<ShouldThrow> should_throw) { in SetProperty() argument
2632 SetPropertyInternal(it, value, should_throw, store_origin, &found); in SetProperty()
2636 if (!CheckContextualStoreToJSGlobalObject(it, should_throw)) { in SetProperty()
2639 return AddDataProperty(it, value, NONE, should_throw, store_origin); in SetProperty()
2644 Maybe<ShouldThrow> should_throw) { in SetSuperProperty() argument
2650 SetPropertyInternal(it, value, should_throw, store_origin, &found); in SetSuperProperty()
2660 return WriteToReadOnlyProperty(it, value, should_throw); in SetSuperProperty()
2676 should_throw); in SetSuperProperty()
2683 return WriteToReadOnlyProperty(&own_lookup, value, should_throw); in SetSuperProperty()
2686 should_throw); in SetSuperProperty()
2691 should_throw); in SetSuperProperty()
2695 return WriteToReadOnlyProperty(&own_lookup, value, should_throw); in SetSuperProperty()
2708 should_throw)) { in SetSuperProperty()
2712 should_throw); in SetSuperProperty()
2717 should_throw); in SetSuperProperty()
2723 &value_desc, should_throw); in SetSuperProperty()
2732 if (!CheckContextualStoreToJSGlobalObject(&own_lookup, should_throw)) { in SetSuperProperty()
2735 return AddDataProperty(&own_lookup, value, NONE, should_throw, store_origin); in SetSuperProperty()
2742 Maybe<ShouldThrow> should_throw) { in CannotCreateProperty() argument
2744 isolate, GetShouldThrow(isolate, should_throw), in CannotCreateProperty()
2752 ShouldThrow should_throw = GetShouldThrow(it->isolate(), maybe_should_throw); in WriteToReadOnlyProperty() local
2757 should_throw == kThrowOnError in WriteToReadOnlyProperty()
2763 it->GetName(), value, should_throw); in WriteToReadOnlyProperty()
2770 ShouldThrow should_throw) { in WriteToReadOnlyProperty() argument
2771 RETURN_FAILURE(isolate, should_throw, in WriteToReadOnlyProperty()
2778 Maybe<ShouldThrow> should_throw) { in RedefineIncompatibleProperty() argument
2779 RETURN_FAILURE(isolate, GetShouldThrow(isolate, should_throw), in RedefineIncompatibleProperty()
2865 Maybe<ShouldThrow> should_throw, in AddDataProperty() argument
2870 value, should_throw); in AddDataProperty()
2877 RETURN_FAILURE(it->isolate(), GetShouldThrow(it->isolate(), should_throw), in AddDataProperty()
2895 RETURN_FAILURE(isolate, GetShouldThrow(it->isolate(), should_throw), in AddDataProperty()
2906 RETURN_FAILURE(isolate, GetShouldThrow(it->isolate(), should_throw), in AddDataProperty()
2922 should_throw, store_origin); in AddDataProperty()
2928 Maybe<ShouldThrow> should_throw, StoreOrigin store_origin) { in TransitionAndWriteDataProperty() argument
3131 Maybe<ShouldThrow> should_throw) { in SetProperty() argument
3154 should_throw); in SetProperty()
3164 RETURN_FAILURE(isolate, GetShouldThrow(isolate, should_throw), in SetProperty()
3182 ShouldThrow should_throw = in DeletePropertyOrElement() local
3211 RETURN_FAILURE(isolate, should_throw, in DeletePropertyOrElement()
3290 Maybe<ShouldThrow> should_throw) { in DefineOwnProperty() argument
3296 return ArraySetLength(isolate, o, desc, should_throw); in DefineOwnProperty()
3318 RETURN_FAILURE(isolate, GetShouldThrow(isolate, should_throw), in DefineOwnProperty()
3323 OrdinaryDefineOwnProperty(isolate, o, name, desc, should_throw); in DefineOwnProperty()
3336 &old_len_desc, should_throw); in DefineOwnProperty()
3346 return OrdinaryDefineOwnProperty(isolate, o, name, desc, should_throw); in DefineOwnProperty()
3389 Maybe<ShouldThrow> should_throw) { in ArraySetLength() argument
3394 isolate, a, isolate->factory()->length_string(), desc, should_throw); in ArraySetLength()
3424 new_len_desc, should_throw); in ArraySetLength()
3435 RETURN_FAILURE(isolate, GetShouldThrow(isolate, should_throw), in ArraySetLength()
3460 &readonly, should_throw); in ArraySetLength()
3470 isolate, GetShouldThrow(isolate, should_throw), in ArraySetLength()
3483 Maybe<ShouldThrow> should_throw) { in DefineOwnProperty() argument
3488 desc, should_throw); in DefineOwnProperty()
3514 should_throw); in DefineOwnProperty()
3534 RETURN_FAILURE(isolate, GetShouldThrow(isolate, should_throw), in DefineOwnProperty()
3609 Maybe<ShouldThrow> should_throw) { in SetPrivateSymbol() argument
3613 RETURN_FAILURE(isolate, GetShouldThrow(isolate, should_throw), in SetPrivateSymbol()
3780 ShouldThrow should_throw) { in PreventExtensions() argument
3798 return JSReceiver::PreventExtensions(target, should_throw); in PreventExtensions()
3809 isolate, should_throw, in PreventExtensions()
5175 ShouldThrow should_throw) { in SetPrototype() argument
5200 should_throw); in SetPrototype()
5213 isolate, should_throw, in SetPrototype()
5223 isolate, should_throw, in SetPrototype()