Lines Matching refs:isolate
68 #define TRACE_GENERIC_IC(isolate, type, reason) \ argument
72 JavaScriptFrame::PrintTop(isolate, stdout, false, true); \
79 #define TRACE_GENERIC_IC(isolate, type, reason) \ argument
141 IC::IC(FrameDepth depth, Isolate* isolate) in IC() argument
142 : isolate_(isolate), target_set_(false), target_maps_set_(false) { in IC()
146 const Address entry = Isolate::c_entry_fp(isolate->thread_local_top()); in IC()
168 StackFrameIterator it(isolate); in IC()
177 isolate); in IC()
180 target_ = handle(raw_target(), isolate); in IC()
191 StackFrameIterator it(isolate()); in GetSharedFunctionInfo()
202 HandleScope scope(isolate()); in GetCode()
203 Handle<SharedFunctionInfo> shared(GetSharedFunctionInfo(), isolate()); in GetCode()
210 HandleScope scope(isolate()); in GetOriginalCode()
211 Handle<SharedFunctionInfo> shared(GetSharedFunctionInfo(), isolate()); in GetOriginalCode()
254 Handle<Map> receiver_map = TypeToMap(*receiver_type(), isolate()); in TryRemoveInvalidPrototypeDependentStub()
277 GetICCacheHolder(*receiver_type(), isolate(), &flag)); in TryRemoveInvalidPrototypeDependentStub()
342 HandleScope scope(isolate()); in TypeError()
344 THROW_NEW_ERROR(isolate(), NewTypeError(type, HandleVector(args, 2)), Object); in TypeError()
349 HandleScope scope(isolate()); in ReferenceError()
350 THROW_NEW_ERROR(isolate(), NewReferenceError(type, HandleVector(&name, 1)), in ReferenceError()
392 void IC::OnTypeFeedbackChanged(Isolate* isolate, Address address, in OnTypeFeedbackChanged() argument
396 isolate->inner_pointer_to_code_cache()->GetCacheEntry(address)->code; in OnTypeFeedbackChanged()
415 isolate->runtime_profiler()->NotifyICChanged(); in OnTypeFeedbackChanged()
427 Isolate* isolate = target->GetHeap()->isolate(); in PostPatching() local
437 OnTypeFeedbackChanged(isolate, address, old_state, new_state, in PostPatching()
463 Isolate* isolate = stub->GetIsolate(); in InvalidateMaps() local
464 Heap* heap = isolate->heap(); in InvalidateMaps()
478 void IC::Clear(Isolate* isolate, Address address, in Clear() argument
487 return LoadIC::Clear(isolate, address, target, constant_pool); in Clear()
489 return KeyedLoadIC::Clear(isolate, address, target, constant_pool); in Clear()
491 return StoreIC::Clear(isolate, address, target, constant_pool); in Clear()
493 return KeyedStoreIC::Clear(isolate, address, target, constant_pool); in Clear()
495 return CallIC::Clear(isolate, address, target, constant_pool); in Clear()
497 return CompareIC::Clear(isolate, address, target, constant_pool); in Clear()
511 void KeyedLoadIC::Clear(Isolate* isolate, Address address, Code* target, in Clear() argument
517 SetTargetAtAddress(address, *pre_monomorphic_stub(isolate), constant_pool); in Clear()
521 void CallIC::Clear(Isolate* isolate, Address address, Code* target, in Clear() argument
527 void LoadIC::Clear(Isolate* isolate, Address address, Code* target, in Clear() argument
530 Code* code = PropertyICCompiler::FindPreMonomorphic(isolate, Code::LOAD_IC, in Clear()
536 void StoreIC::Clear(Isolate* isolate, Address address, Code* target, in Clear() argument
539 Code* code = PropertyICCompiler::FindPreMonomorphic(isolate, Code::STORE_IC, in Clear()
545 void KeyedStoreIC::Clear(Isolate* isolate, Address address, Code* target, in Clear() argument
550 isolate, StoreIC::GetStrictMode(target->extra_ic_state())), in Clear()
555 void CompareIC::Clear(Isolate* isolate, Address address, Code* target, in Clear() argument
558 CompareICStub stub(target->stub_key(), isolate); in Clear()
561 SetTargetAtAddress(address, GetRawUninitialized(isolate, stub.op()), in Clear()
568 Handle<Code> KeyedLoadIC::generic_stub(Isolate* isolate) { in generic_stub() argument
570 return KeyedLoadGenericStub(isolate).GetCode(); in generic_stub()
572 return isolate->builtins()->KeyedLoadIC_Generic(); in generic_stub()
599 set_target(*KeyedLoadIC::generic_stub(isolate())); in Load()
601 TRACE_GENERIC_IC(isolate(), "LoadIC", "name as array index"); in Load()
605 isolate(), result, in Load()
606 Runtime::GetElementOrCharAt(isolate(), object, index), Object); in Load()
622 ASSIGN_RETURN_ON_EXCEPTION(isolate(), result, Object::GetProperty(&it), in Load()
627 LOG(isolate(), SuspectReadEvent(*name, *object)); in Load()
712 Handle<HeapType> IC::CurrentTypeOf(Handle<Object> object, Isolate* isolate) { in CurrentTypeOf() argument
714 ? HeapType::Constant(Handle<JSGlobalObject>::cast(object), isolate) in CurrentTypeOf()
715 : HeapType::NowOf(object, isolate); in CurrentTypeOf()
719 Handle<Map> IC::TypeToMap(HeapType* type, Isolate* isolate) { in TypeToMap() argument
721 return isolate->factory()->heap_number_map(); in TypeToMap()
722 if (type->Is(HeapType::Boolean())) return isolate->factory()->boolean_map(); in TypeToMap()
815 Handle<Code> LoadIC::initialize_stub(Isolate* isolate, in initialize_stub() argument
817 return PropertyICCompiler::ComputeLoad(isolate, UNINITIALIZED, extra_state); in initialize_stub()
823 MegamorphicLoadStub stub(isolate(), LoadICState(extra_ic_state())); in megamorphic_stub()
827 return KeyedLoadIC::generic_stub(isolate()); in megamorphic_stub()
832 Handle<Code> LoadIC::pre_monomorphic_stub(Isolate* isolate, in pre_monomorphic_stub() argument
834 return PropertyICCompiler::ComputeLoad(isolate, PREMONOMORPHIC, extra_state); in pre_monomorphic_stub()
838 Handle<Code> KeyedLoadIC::pre_monomorphic_stub(Isolate* isolate) { in pre_monomorphic_stub() argument
839 return isolate->builtins()->KeyedLoadIC_PreMonomorphic(); in pre_monomorphic_stub()
845 return LoadIC::pre_monomorphic_stub(isolate(), extra_ic_state()); in pre_monomorphic_stub()
848 return KeyedLoadIC::pre_monomorphic_stub(isolate()); in pre_monomorphic_stub()
854 LoadFieldStub stub(isolate(), index); in SimpleFieldLoad()
892 Map* map = *TypeToMap(type, isolate()); in UpdateMegamorphicCache()
893 isolate()->stub_cache()->Set(name, map, code); in UpdateMegamorphicCache()
902 *receiver_type(), receiver_is_holder, isolate(), &flag); in ComputeHandler()
921 isolate()->stub_cache()->Get(*lookup->name(), map, code->flags()); in ComputeHandler()
952 Name::Equals(isolate()->factory()->length_string(), lookup->name())) { in CompileHandler()
958 Name::Equals(isolate()->factory()->length_string(), lookup->name())) { in CompileHandler()
959 StringLengthStub string_length_stub(isolate()); in CompileHandler()
965 Name::Equals(isolate()->factory()->prototype_string(), lookup->name()) && in CompileHandler()
971 FunctionPrototypeStub function_prototype_stub(isolate()); in CompileHandler()
981 NamedLoadHandlerCompiler compiler(isolate(), receiver_type(), holder, in CompileHandler()
1010 if (!ExecutableAccessorInfo::IsCompatibleReceiverType(isolate(), info, in CompileHandler()
1015 NamedLoadHandlerCompiler compiler(isolate(), receiver_type(), holder, in CompileHandler()
1021 isolate()); in CompileHandler()
1032 NamedLoadHandlerCompiler compiler(isolate(), receiver_type(), holder, in CompileHandler()
1050 NamedLoadHandlerCompiler compiler(isolate(), receiver_type(), holder, in CompileHandler()
1058 *type, receiver_is_holder, isolate(), &flag); in CompileHandler()
1067 return isolate()->builtins()->LoadIC_Normal(); in CompileHandler()
1076 NamedLoadHandlerCompiler compiler(isolate(), receiver_type(), holder, in CompileHandler()
1084 LoadConstantStub stub(isolate(), lookup->GetConstantIndex()); in CompileHandler()
1087 NamedLoadHandlerCompiler compiler(isolate(), receiver_type(), holder, in CompileHandler()
1104 static Handle<Object> TryConvertKey(Handle<Object> key, Isolate* isolate) { in TryConvertKey() argument
1110 key = isolate->factory()->nan_string(); in TryConvertKey()
1114 key = Handle<Smi>(Smi::FromInt(int_value), isolate); in TryConvertKey()
1118 key = isolate->factory()->undefined_string(); in TryConvertKey()
1125 Handle<Map> receiver_map(receiver->map(), isolate()); in LoadElementStub()
1128 target_receiver_maps.Add(isolate()->factory()->string_map()); in LoadElementStub()
1156 TRACE_GENERIC_IC(isolate(), "KeyedLoadIC", "same map added twice"); in LoadElementStub()
1163 TRACE_GENERIC_IC(isolate(), "KeyedLoadIC", "max polymorph exceeded"); in LoadElementStub()
1176 isolate(), result, Runtime::GetObjectProperty(isolate(), object, key), in Load()
1186 key = TryConvertKey(key, isolate()); in Load()
1189 ASSIGN_RETURN_ON_EXCEPTION(isolate(), load_handle, in Load()
1197 if (!Object::ToSmi(isolate(), key).is_null()) { in Load()
1206 TRACE_GENERIC_IC(isolate(), "KeyedLoadIC", "set generic"); in Load()
1214 ASSIGN_RETURN_ON_EXCEPTION(isolate(), result, in Load()
1215 Runtime::GetObjectProperty(isolate(), object, key), in Load()
1263 PrototypeIterator iter(it->isolate(), receiver); in LookupForWrite()
1288 isolate(), result, in Store()
1309 isolate(), result, in Store()
1320 isolate(), result, in Store()
1332 isolate(), result, in Store()
1338 Handle<Code> CallIC::initialize_stub(Isolate* isolate, int argc, in initialize_stub() argument
1340 CallICStub stub(isolate, CallICState(argc, call_type)); in initialize_stub()
1346 Handle<Code> StoreIC::initialize_stub(Isolate* isolate, in initialize_stub() argument
1350 PropertyICCompiler::ComputeStore(isolate, UNINITIALIZED, extra_state); in initialize_stub()
1357 return PropertyICCompiler::ComputeStore(isolate(), MEGAMORPHIC, in megamorphic_stub()
1362 return isolate()->builtins()->KeyedStoreIC_Generic_Strict(); in megamorphic_stub()
1364 return isolate()->builtins()->KeyedStoreIC_Generic(); in megamorphic_stub()
1372 return PropertyICCompiler::ComputeStore(isolate(), GENERIC, in generic_stub()
1377 return isolate()->builtins()->KeyedStoreIC_Generic_Strict(); in generic_stub()
1379 return isolate()->builtins()->KeyedStoreIC_Generic(); in generic_stub()
1387 return isolate()->builtins()->StoreIC_Slow(); in slow_stub()
1390 return isolate()->builtins()->KeyedStoreIC_Slow(); in slow_stub()
1395 Handle<Code> StoreIC::pre_monomorphic_stub(Isolate* isolate, in pre_monomorphic_stub() argument
1398 return PropertyICCompiler::ComputeStore(isolate, PREMONOMORPHIC, state); in pre_monomorphic_stub()
1414 TRACE_GENERIC_IC(isolate(), "StoreIC", "LookupForWrite said 'false'"); in UpdateCaches()
1438 TRACE_GENERIC_IC(isolate(), "StoreIC", "transition from slow"); in CompileHandler()
1443 NamedStoreHandlerCompiler compiler(isolate(), receiver_type(), holder); in CompileHandler()
1449 NamedStoreHandlerCompiler compiler(isolate(), receiver_type(), holder); in CompileHandler()
1455 TRACE_GENERIC_IC(isolate(), "StoreIC", "accessor on slow map"); in CompileHandler()
1463 TRACE_GENERIC_IC(isolate(), "StoreIC", "setter == 0"); in CompileHandler()
1467 isolate(), info, receiver_type())) { in CompileHandler()
1468 TRACE_GENERIC_IC(isolate(), "StoreIC", "incompatible receiver type"); in CompileHandler()
1471 NamedStoreHandlerCompiler compiler(isolate(), receiver_type(), holder); in CompileHandler()
1475 isolate()); in CompileHandler()
1477 TRACE_GENERIC_IC(isolate(), "StoreIC", "setter not a function"); in CompileHandler()
1482 NamedStoreHandlerCompiler compiler(isolate(), receiver_type(), holder); in CompileHandler()
1493 TRACE_GENERIC_IC(isolate(), "StoreIC", "declared accessor info"); in CompileHandler()
1502 StoreGlobalStub stub(isolate(), union_type->IsConstant(), in CompileHandler()
1511 return isolate()->builtins()->StoreIC_Normal(); in CompileHandler()
1524 StoreFieldStub stub(isolate(), lookup->GetFieldIndex(), in CompileHandler()
1528 NamedStoreHandlerCompiler compiler(isolate(), receiver_type(), holder); in CompileHandler()
1534 TRACE_GENERIC_IC(isolate(), "StoreIC", "constant property"); in CompileHandler()
1553 TRACE_GENERIC_IC(isolate(), "KeyedStoreIC", "non-NORMAL target type"); in StoreElementStub()
1557 Handle<Map> receiver_map(receiver->map(), isolate()); in StoreElementStub()
1619 TRACE_GENERIC_IC(isolate(), "KeyedStoreIC", "same map added twice"); in StoreElementStub()
1626 TRACE_GENERIC_IC(isolate(), "KeyedStoreIC", "max polymorph exceeded"); in StoreElementStub()
1637 TRACE_GENERIC_IC(isolate(), "KeyedStoreIC", "store mode mismatch"); in StoreElementStub()
1655 TRACE_GENERIC_IC(isolate(), "KeyedStoreIC", in StoreElementStub()
1710 Handle<Smi> smi_key = Object::ToSmi(isolate(), key).ToHandleChecked(); in GetStoreMode()
1791 isolate(), result, Runtime::SetObjectProperty(isolate(), object, key, in Store()
1799 key = TryConvertKey(key, isolate()); in Store()
1806 isolate(), store_handle, in Store()
1812 TRACE_GENERIC_IC(isolate(), "KeyedStoreIC", in Store()
1829 TRACE_GENERIC_IC(isolate(), "KeyedStoreIC", "map in array prototype"); in Store()
1839 bool key_is_smi_like = !Object::ToSmi(isolate(), key).is_null(); in Store()
1841 isolate()->heap()->sloppy_arguments_elements_map()) { in Store()
1845 TRACE_GENERIC_IC(isolate(), "KeyedStoreIC", "arguments receiver"); in Store()
1857 TRACE_GENERIC_IC(isolate(), "KeyedStoreIC", "dictionary prototype"); in Store()
1860 TRACE_GENERIC_IC(isolate(), "KeyedStoreIC", "non-smi-like key"); in Store()
1863 TRACE_GENERIC_IC(isolate(), "KeyedStoreIC", "non-JSObject receiver"); in Store()
1869 isolate(), store_handle, in Store()
1870 Runtime::SetObjectProperty(isolate(), object, key, value, in Store()
1878 TRACE_GENERIC_IC(isolate(), "KeyedStoreIC", "set generic"); in Store()
1881 TRACE_GENERIC_IC(isolate(), "KeyedStoreIC", "slow stub"); in Store()
1898 Handle<JSFunction>(isolate()->native_context()->array_function()); in DoCustomHandler()
1905 isolate()->factory()->NewAllocationSite(); in DoCustomHandler()
1909 CallIC_ArrayStub stub(isolate(), state); in DoCustomHandler()
1914 isolate()); in DoCustomHandler()
1918 OnTypeFeedbackChanged(isolate(), address(), old_state, new_state, true); in DoCustomHandler()
1934 *TypeFeedbackVector::MegamorphicSentinel(isolate()), in PatchMegamorphic()
1937 CallICStub stub(isolate(), state); in PatchMegamorphic()
1941 Handle<Object> name = isolate()->factory()->empty_string(); in PatchMegamorphic()
1944 name = handle(js_function->shared()->name(), isolate()); in PatchMegamorphic()
1948 OnTypeFeedbackChanged(isolate(), address(), old_state, new_state, true); in PatchMegamorphic()
1957 Handle<Object> name = isolate()->factory()->empty_string(); in HandleMiss()
1966 *TypeFeedbackVector::MegamorphicSentinel(isolate()), in HandleMiss()
1975 DCHECK(feedback == *TypeFeedbackVector::UninitializedSentinel(isolate()) || in HandleMiss()
1989 name = handle(js_function->shared()->name(), isolate()); in HandleMiss()
1993 OnTypeFeedbackChanged(isolate(), address(), old_state, new_state, true); in HandleMiss()
2007 TimerEventScope<TimerEventIcMiss> timer(isolate); in RUNTIME_FUNCTION()
2008 HandleScope scope(isolate); in RUNTIME_FUNCTION()
2010 CallIC ic(isolate); in RUNTIME_FUNCTION()
2021 TimerEventScope<TimerEventIcMiss> timer(isolate); in RUNTIME_FUNCTION()
2022 HandleScope scope(isolate); in RUNTIME_FUNCTION()
2025 CallIC ic(isolate); in RUNTIME_FUNCTION()
2036 TimerEventScope<TimerEventIcMiss> timer(isolate); in RUNTIME_FUNCTION()
2037 HandleScope scope(isolate); in RUNTIME_FUNCTION()
2039 LoadIC ic(IC::NO_EXTRA_FRAME, isolate); in RUNTIME_FUNCTION()
2044 ASSIGN_RETURN_FAILURE_ON_EXCEPTION(isolate, result, ic.Load(receiver, key)); in RUNTIME_FUNCTION()
2051 TimerEventScope<TimerEventIcMiss> timer(isolate); in RUNTIME_FUNCTION()
2052 HandleScope scope(isolate); in RUNTIME_FUNCTION()
2054 KeyedLoadIC ic(IC::NO_EXTRA_FRAME, isolate); in RUNTIME_FUNCTION()
2059 ASSIGN_RETURN_FAILURE_ON_EXCEPTION(isolate, result, ic.Load(receiver, key)); in RUNTIME_FUNCTION()
2065 TimerEventScope<TimerEventIcMiss> timer(isolate); in RUNTIME_FUNCTION()
2066 HandleScope scope(isolate); in RUNTIME_FUNCTION()
2068 KeyedLoadIC ic(IC::EXTRA_CALL_FRAME, isolate); in RUNTIME_FUNCTION()
2073 ASSIGN_RETURN_FAILURE_ON_EXCEPTION(isolate, result, ic.Load(receiver, key)); in RUNTIME_FUNCTION()
2080 TimerEventScope<TimerEventIcMiss> timer(isolate); in RUNTIME_FUNCTION()
2081 HandleScope scope(isolate); in RUNTIME_FUNCTION()
2083 StoreIC ic(IC::NO_EXTRA_FRAME, isolate); in RUNTIME_FUNCTION()
2089 isolate, result, ic.Store(receiver, key, args.at<Object>(2))); in RUNTIME_FUNCTION()
2095 TimerEventScope<TimerEventIcMiss> timer(isolate); in RUNTIME_FUNCTION()
2096 HandleScope scope(isolate); in RUNTIME_FUNCTION()
2098 StoreIC ic(IC::EXTRA_CALL_FRAME, isolate); in RUNTIME_FUNCTION()
2104 isolate, result, ic.Store(receiver, key, args.at<Object>(2))); in RUNTIME_FUNCTION()
2113 TimerEventScope<TimerEventIcMiss> timer(isolate); in RUNTIME_FUNCTION()
2114 HandleScope shs(isolate); in RUNTIME_FUNCTION()
2135 TimerEventScope<TimerEventIcMiss> timer(isolate); in RUNTIME_FUNCTION()
2136 HandleScope scope(isolate); in RUNTIME_FUNCTION()
2138 KeyedStoreIC ic(IC::NO_EXTRA_FRAME, isolate); in RUNTIME_FUNCTION()
2144 isolate, result, ic.Store(receiver, key, args.at<Object>(2))); in RUNTIME_FUNCTION()
2150 TimerEventScope<TimerEventIcMiss> timer(isolate); in RUNTIME_FUNCTION()
2151 HandleScope scope(isolate); in RUNTIME_FUNCTION()
2153 KeyedStoreIC ic(IC::EXTRA_CALL_FRAME, isolate); in RUNTIME_FUNCTION()
2159 isolate, result, ic.Store(receiver, key, args.at<Object>(2))); in RUNTIME_FUNCTION()
2165 HandleScope scope(isolate); in RUNTIME_FUNCTION()
2167 StoreIC ic(IC::NO_EXTRA_FRAME, isolate); in RUNTIME_FUNCTION()
2174 isolate, result, in RUNTIME_FUNCTION()
2175 Runtime::SetObjectProperty(isolate, object, key, value, strict_mode)); in RUNTIME_FUNCTION()
2181 HandleScope scope(isolate); in RUNTIME_FUNCTION()
2183 KeyedStoreIC ic(IC::NO_EXTRA_FRAME, isolate); in RUNTIME_FUNCTION()
2190 isolate, result, in RUNTIME_FUNCTION()
2191 Runtime::SetObjectProperty(isolate, object, key, value, strict_mode)); in RUNTIME_FUNCTION()
2197 TimerEventScope<TimerEventIcMiss> timer(isolate); in RUNTIME_FUNCTION()
2198 HandleScope scope(isolate); in RUNTIME_FUNCTION()
2200 KeyedStoreIC ic(IC::EXTRA_CALL_FRAME, isolate); in RUNTIME_FUNCTION()
2212 isolate, result, in RUNTIME_FUNCTION()
2213 Runtime::SetObjectProperty(isolate, object, key, value, strict_mode)); in RUNTIME_FUNCTION()
2221 BinaryOpICState state(isolate(), target()->extra_ic_state()); in Transition()
2224 Object* builtin = isolate()->js_builtins_object()->javascript_builtin( in Transition()
2226 Handle<JSFunction> function = handle(JSFunction::cast(builtin), isolate()); in Transition()
2229 isolate(), result, Execution::Call(isolate(), function, left, 1, &right), in Transition()
2236 BinaryOpICState old_state(isolate(), target()->extra_ic_state()); in Transition()
2244 allocation_site = isolate()->factory()->NewAllocationSite(); in Transition()
2248 BinaryOpICWithAllocationSiteStub stub(isolate(), state); in Transition()
2255 BinaryOpICStub stub(isolate(), state); in Transition()
2267 JavaScriptFrame::PrintTop(isolate(), stdout, false, true); in Transition()
2286 TimerEventScope<TimerEventIcMiss> timer(isolate); in RUNTIME_FUNCTION()
2287 HandleScope scope(isolate); in RUNTIME_FUNCTION()
2291 BinaryOpIC ic(isolate); in RUNTIME_FUNCTION()
2294 isolate, result, in RUNTIME_FUNCTION()
2301 TimerEventScope<TimerEventIcMiss> timer(isolate); in RUNTIME_FUNCTION()
2302 HandleScope scope(isolate); in RUNTIME_FUNCTION()
2309 BinaryOpIC ic(isolate); in RUNTIME_FUNCTION()
2312 isolate, result, ic.Transition(allocation_site, left, right)); in RUNTIME_FUNCTION()
2317 Code* CompareIC::GetRawUninitialized(Isolate* isolate, Token::Value op) { in GetRawUninitialized() argument
2318 CompareICStub stub(isolate, op, CompareICState::UNINITIALIZED, in GetRawUninitialized()
2327 Handle<Code> CompareIC::GetUninitialized(Isolate* isolate, Token::Value op) { in GetUninitialized() argument
2328 CompareICStub stub(isolate, op, CompareICState::UNINITIALIZED, in GetUninitialized()
2336 HandleScope scope(isolate()); in UpdateCaches()
2337 CompareICStub old_stub(target()->stub_key(), isolate()); in UpdateCaches()
2345 CompareICStub stub(isolate(), op_, new_left, new_right, state); in UpdateCaches()
2348 Handle<Map>(Handle<JSObject>::cast(x)->map(), isolate())); in UpdateCaches()
2355 JavaScriptFrame::PrintTop(isolate(), stdout, false, true); in UpdateCaches()
2377 TimerEventScope<TimerEventIcMiss> timer(isolate); in RUNTIME_FUNCTION()
2378 HandleScope scope(isolate); in RUNTIME_FUNCTION()
2380 CompareIC ic(isolate, static_cast<Token::Value>(args.smi_at(2))); in RUNTIME_FUNCTION()
2401 Handle<Object> CompareNilIC::DoCompareNilSlow(Isolate* isolate, NilValue nil, in DoCompareNilSlow() argument
2404 return handle(Smi::FromInt(true), isolate); in DoCompareNilSlow()
2406 return handle(Smi::FromInt(object->IsUndetectableObject()), isolate); in DoCompareNilSlow()
2413 CompareNilICStub stub(isolate(), extra_ic_state); in CompareNil()
2434 return DoCompareNilSlow(isolate(), nil, object); in CompareNil()
2439 TimerEventScope<TimerEventIcMiss> timer(isolate); in RUNTIME_FUNCTION()
2440 HandleScope scope(isolate); in RUNTIME_FUNCTION()
2442 CompareNilIC ic(isolate); in RUNTIME_FUNCTION()
2450 return isolate->heap()->undefined_value(); in RUNTIME_FUNCTION()
2496 ToBooleanStub stub(isolate(), target()->extra_ic_state()); in ToBoolean()
2500 return handle(Smi::FromInt(to_boolean_value ? 1 : 0), isolate()); in ToBoolean()
2505 TimerEventScope<TimerEventIcMiss> timer(isolate); in RUNTIME_FUNCTION()
2507 HandleScope scope(isolate); in RUNTIME_FUNCTION()
2509 ToBooleanIC ic(isolate); in RUNTIME_FUNCTION()
2520 HandleScope scope(isolate); in RUNTIME_FUNCTION()
2529 LOG(isolate, ApiNamedPropertyAccess("store", *receiver, *name)); in RUNTIME_FUNCTION()
2530 PropertyCallbackArguments custom_args(isolate, callback->data(), *receiver, in RUNTIME_FUNCTION()
2533 RETURN_FAILURE_IF_SCHEDULED_EXCEPTION(isolate); in RUNTIME_FUNCTION()
2554 return isolate->heap()->no_interceptor_result_sentinel(); in RUNTIME_FUNCTION()
2566 PropertyCallbackArguments callback_args(isolate, interceptor_info->data(), in RUNTIME_FUNCTION()
2570 HandleScope scope(isolate); in RUNTIME_FUNCTION()
2573 RETURN_FAILURE_IF_SCHEDULED_EXCEPTION(isolate); in RUNTIME_FUNCTION()
2581 return isolate->heap()->no_interceptor_result_sentinel(); in RUNTIME_FUNCTION()
2585 static Object* ThrowReferenceError(Isolate* isolate, Name* name) { in ThrowReferenceError() argument
2588 HandleScope scope(isolate); in ThrowReferenceError()
2589 LoadIC ic(IC::NO_EXTRA_FRAME, isolate); in ThrowReferenceError()
2591 return isolate->heap()->undefined_value(); in ThrowReferenceError()
2597 isolate, NewReferenceError("not_defined", HandleVector(&name_handle, 1))); in ThrowReferenceError()
2606 HandleScope scope(isolate); in RUNTIME_FUNCTION()
2617 ASSIGN_RETURN_FAILURE_ON_EXCEPTION(isolate, result, in RUNTIME_FUNCTION()
2622 return ThrowReferenceError(isolate, Name::cast(args[0])); in RUNTIME_FUNCTION()
2627 HandleScope scope(isolate); in RUNTIME_FUNCTION()
2629 StoreIC ic(IC::NO_EXTRA_FRAME, isolate); in RUNTIME_FUNCTION()
2634 PrototypeIterator iter(isolate, receiver, in RUNTIME_FUNCTION()
2649 isolate, result, in RUNTIME_FUNCTION()
2656 HandleScope scope(isolate); in RUNTIME_FUNCTION()
2662 isolate, result, in RUNTIME_FUNCTION()