Lines Matching refs:Handle
16 Handle<Code> PropertyICCompiler::Find(Handle<Name> name, in Find()
17 Handle<Map> stub_holder, Code::Kind kind, in Find()
24 return Handle<Code>::null(); in Find()
36 Handle<Code> PropertyICCompiler::CompileMonomorphic(Handle<HeapType> type, in CompileMonomorphic()
37 Handle<Code> handler, in CompileMonomorphic()
38 Handle<Name> name, in CompileMonomorphic()
49 Handle<Code> PropertyICCompiler::ComputeMonomorphic( in ComputeMonomorphic()
50 Code::Kind kind, Handle<Name> name, Handle<HeapType> type, in ComputeMonomorphic()
51 Handle<Code> handler, ExtraICState extra_ic_state) { in ComputeMonomorphic()
59 Handle<Map> stub_holder = IC::GetICCacheHolder(*type, isolate, &flag); in ComputeMonomorphic()
61 Handle<Code> ic; in ComputeMonomorphic()
86 Handle<Code> PropertyICCompiler::ComputeKeyedLoadMonomorphic( in ComputeKeyedLoadMonomorphic()
87 Handle<Map> receiver_map) { in ComputeKeyedLoadMonomorphic()
90 Handle<Name> name = isolate->factory()->KeyedLoadMonomorphic_string(); in ComputeKeyedLoadMonomorphic()
92 Handle<Object> probe(receiver_map->FindInCodeCache(*name, flags), isolate); in ComputeKeyedLoadMonomorphic()
93 if (probe->IsCode()) return Handle<Code>::cast(probe); in ComputeKeyedLoadMonomorphic()
96 Handle<Code> stub; in ComputeKeyedLoadMonomorphic()
111 Handle<Code> code = in ComputeKeyedLoadMonomorphic()
120 Handle<Code> PropertyICCompiler::ComputeKeyedStoreMonomorphic( in ComputeKeyedStoreMonomorphic()
121 Handle<Map> receiver_map, StrictMode strict_mode, in ComputeKeyedStoreMonomorphic()
134 Handle<String> name = isolate->factory()->KeyedStoreMonomorphic_string(); in ComputeKeyedStoreMonomorphic()
135 Handle<Object> probe(receiver_map->FindInCodeCache(*name, flags), isolate); in ComputeKeyedStoreMonomorphic()
136 if (probe->IsCode()) return Handle<Code>::cast(probe); in ComputeKeyedStoreMonomorphic()
139 Handle<Code> code = in ComputeKeyedStoreMonomorphic()
163 static void FillCache(Isolate* isolate, Handle<Code> code) { in FillCache()
164 Handle<UnseededNumberDictionary> dictionary = UnseededNumberDictionary::Set( in FillCache()
170 Handle<Code> PropertyICCompiler::ComputeLoad(Isolate* isolate, in ComputeLoad()
174 Handle<UnseededNumberDictionary> cache = in ComputeLoad()
177 if (entry != -1) return Handle<Code>(Code::cast(cache->ValueAt(entry))); in ComputeLoad()
180 Handle<Code> code; in ComputeLoad()
193 Handle<Code> PropertyICCompiler::ComputeStore(Isolate* isolate, in ComputeStore()
197 Handle<UnseededNumberDictionary> cache = in ComputeStore()
200 if (entry != -1) return Handle<Code>(Code::cast(cache->ValueAt(entry))); in ComputeStore()
203 Handle<Code> code; in ComputeStore()
221 Handle<Code> PropertyICCompiler::ComputeCompareNil(Handle<Map> receiver_map, in ComputeCompareNil()
224 Handle<String> name(isolate->heap()->empty_string()); in ComputeCompareNil()
226 Handle<Code> cached_ic = in ComputeCompareNil()
233 Handle<Code> ic = stub->GetCodeCopy(pattern); in ComputeCompareNil()
244 Handle<Code> PropertyICCompiler::ComputeKeyedLoadPolymorphic( in ComputeKeyedLoadPolymorphic()
248 Handle<PolymorphicCodeCache> cache = in ComputeKeyedLoadPolymorphic()
250 Handle<Object> probe = cache->Lookup(receiver_maps, flags); in ComputeKeyedLoadPolymorphic()
251 if (probe->IsCode()) return Handle<Code>::cast(probe); in ComputeKeyedLoadPolymorphic()
261 Handle<Code> code = ic_compiler.CompilePolymorphic( in ComputeKeyedLoadPolymorphic()
272 Handle<Code> PropertyICCompiler::ComputePolymorphic( in ComputePolymorphic()
274 int valid_types, Handle<Name> name, ExtraICState extra_ic_state) { in ComputePolymorphic()
275 Handle<Code> handler = handlers->at(0); in ComputePolymorphic()
283 Handle<Code> PropertyICCompiler::ComputeKeyedStorePolymorphic( in ComputeKeyedStorePolymorphic()
291 Handle<PolymorphicCodeCache> cache = in ComputeKeyedStorePolymorphic()
297 Handle<Object> probe = cache->Lookup(receiver_maps, flags); in ComputeKeyedStorePolymorphic()
298 if (probe->IsCode()) return Handle<Code>::cast(probe); in ComputeKeyedStorePolymorphic()
301 Handle<Code> code = in ComputeKeyedStorePolymorphic()
308 Handle<Code> PropertyICCompiler::CompileLoadInitialize(Code::Flags flags) { in CompileLoadInitialize()
310 Handle<Code> code = GetCodeWithFlags(flags, "CompileLoadInitialize"); in CompileLoadInitialize()
316 Handle<Code> PropertyICCompiler::CompileLoadPreMonomorphic(Code::Flags flags) { in CompileLoadPreMonomorphic()
318 Handle<Code> code = GetCodeWithFlags(flags, "CompileLoadPreMonomorphic"); in CompileLoadPreMonomorphic()
325 Handle<Code> PropertyICCompiler::CompileStoreInitialize(Code::Flags flags) { in CompileStoreInitialize()
327 Handle<Code> code = GetCodeWithFlags(flags, "CompileStoreInitialize"); in CompileStoreInitialize()
333 Handle<Code> PropertyICCompiler::CompileStorePreMonomorphic(Code::Flags flags) { in CompileStorePreMonomorphic()
335 Handle<Code> code = GetCodeWithFlags(flags, "CompileStorePreMonomorphic"); in CompileStorePreMonomorphic()
342 Handle<Code> PropertyICCompiler::CompileStoreGeneric(Code::Flags flags) { in CompileStoreGeneric()
346 Handle<Code> code = GetCodeWithFlags(flags, "CompileStoreGeneric"); in CompileStoreGeneric()
352 Handle<Code> PropertyICCompiler::CompileStoreMegamorphic(Code::Flags flags) { in CompileStoreMegamorphic()
354 Handle<Code> code = GetCodeWithFlags(flags, "CompileStoreMegamorphic"); in CompileStoreMegamorphic()
360 Handle<Code> PropertyICCompiler::GetCode(Code::Kind kind, Code::StubType type, in GetCode()
361 Handle<Name> name, in GetCode()
365 Handle<Code> code = GetCodeWithFlags(flags, name); in GetCode()
372 Handle<Code> PropertyICCompiler::CompileKeyedStorePolymorphic( in CompileKeyedStorePolymorphic()
378 Handle<Map> receiver_map(receiver_maps->at(i)); in CompileKeyedStorePolymorphic()
379 Handle<Code> cached_stub; in CompileKeyedStorePolymorphic()
380 Handle<Map> transitioned_map = in CompileKeyedStorePolymorphic()
412 Handle<Code> code = CompileKeyedStorePolymorphic(receiver_maps, &handlers, in CompileKeyedStorePolymorphic()
423 Handle<Code> PropertyICCompiler::CompileKeyedStoreMonomorphic( in CompileKeyedStoreMonomorphic()
424 Handle<Map> receiver_map, KeyedAccessStoreMode store_mode) { in CompileKeyedStoreMonomorphic()
427 Handle<Code> stub; in CompileKeyedStoreMonomorphic()