Lines Matching refs:Code
74 Code* value;
83 Handle<Code> FindIC(Handle<Name> name,
85 Code::Kind kind,
89 Handle<Code> FindHandler(Handle<Name> name,
91 Code::Kind kind,
94 Handle<Code> ComputeMonomorphicIC(Handle<Name> name,
96 Handle<Code> handler,
99 Handle<Code> ComputeLoadNonexistent(Handle<Name> name, Handle<Type> type);
101 Handle<Code> ComputeKeyedLoadElement(Handle<Map> receiver_map);
103 Handle<Code> ComputeKeyedStoreElement(Handle<Map> receiver_map,
107 Handle<Code> ComputeCallField(int argc,
108 Code::Kind,
115 Handle<Code> ComputeCallConstant(int argc,
116 Code::Kind,
123 Handle<Code> ComputeCallInterceptor(int argc,
124 Code::Kind,
130 Handle<Code> ComputeCallGlobal(int argc,
131 Code::Kind,
141 Handle<Code> ComputeCallInitialize(int argc, RelocInfo::Mode mode);
143 Handle<Code> ComputeKeyedCallInitialize(int argc);
145 Handle<Code> ComputeCallPreMonomorphic(int argc,
146 Code::Kind kind,
149 Handle<Code> ComputeCallNormal(int argc,
150 Code::Kind kind,
153 Handle<Code> ComputeCallArguments(int argc);
155 Handle<Code> ComputeCallMegamorphic(int argc,
156 Code::Kind kind,
159 Handle<Code> ComputeCallMiss(int argc,
160 Code::Kind kind,
165 Handle<Code> ComputeCompareNil(Handle<Map> receiver_map,
170 Handle<Code> ComputeLoadElementPolymorphic(MapHandleList* receiver_maps);
171 Handle<Code> ComputeStoreElementPolymorphic(MapHandleList* receiver_maps,
175 Handle<Code> ComputePolymorphicIC(TypeHandleList* types,
182 Code* FindCallInitialize(int argc, RelocInfo::Mode mode, Code::Kind kind);
185 Handle<Code> ComputeCallDebugBreak(int argc, Code::Kind kind);
187 Handle<Code> ComputeCallDebugPrepareStepIn(int argc, Code::Kind kind);
191 Code* Set(Name* name, Map* map, Code* code);
199 Code::Flags flags,
207 Code::Flags flags,
265 Handle<Code> ComputeCallInitialize(int argc,
267 Code::Kind kind);
279 static int PrimaryOffset(Name* name, Code::Flags flags, Map* map) { in PrimaryOffset()
296 (static_cast<uint32_t>(flags) & ~Code::kFlagsNotUsedInLookup); in PrimaryOffset()
305 static int SecondaryOffset(Name* name, Code::Flags flags, int seed) { in SecondaryOffset()
312 (static_cast<uint32_t>(flags) & ~Code::kFlagsNotUsedInLookup); in SecondaryOffset()
374 Handle<Code> CompileCallInitialize(Code::Flags flags);
375 Handle<Code> CompileCallPreMonomorphic(Code::Flags flags);
376 Handle<Code> CompileCallNormal(Code::Flags flags);
377 Handle<Code> CompileCallMegamorphic(Code::Flags flags);
378 Handle<Code> CompileCallArguments(Code::Flags flags);
379 Handle<Code> CompileCallMiss(Code::Flags flags);
382 Handle<Code> CompileCallDebugBreak(Code::Flags flags);
383 Handle<Code> CompileCallDebugPrepareStepIn(Code::Flags flags);
491 Handle<Code> GetCodeWithFlags(Code::Flags flags, const char* name);
492 Handle<Code> GetCodeWithFlags(Code::Flags flags, Handle<Name> name);
507 static void GenerateTailCall(MacroAssembler* masm, Handle<Code> code);
523 Code::Kind kind,
533 Handle<Code> CompileMonomorphicIC(Handle<Type> type,
534 Handle<Code> handler,
537 Handle<Code> CompilePolymorphicIC(TypeHandleList* types,
540 Code::StubType type,
547 static Builtins::Name MissBuiltin(Code::Kind kind) { in MissBuiltin()
549 case Code::LOAD_IC: return Builtins::kLoadIC_Miss; in MissBuiltin()
550 case Code::STORE_IC: return Builtins::kStoreIC_Miss; in MissBuiltin()
551 case Code::KEYED_LOAD_IC: return Builtins::kKeyedLoadIC_Miss; in MissBuiltin()
552 case Code::KEYED_STORE_IC: return Builtins::kKeyedStoreIC_Miss; in MissBuiltin()
572 Handle<Code> GetCode(Code::Kind kind,
573 Code::StubType type,
576 Handle<Code> GetICCode(Code::Kind kind,
577 Code::StubType type,
580 Code::Kind kind() { return kind_; } in kind()
582 Logger::LogEventsAndTags log_kind(Handle<Code> code) { in log_kind()
584 if (kind_ == Code::LOAD_IC) { in log_kind()
587 } else if (kind_ == Code::KEYED_LOAD_IC) { in log_kind()
590 } else if (kind_ == Code::STORE_IC) { in log_kind()
598 void JitEvent(Handle<Name> name, Handle<Code> code);
610 Code::Kind kind_;
621 Code::Kind kind = Code::LOAD_IC)
626 Handle<Code> CompileLoadField(Handle<Type> type,
632 Handle<Code> CompileLoadCallback(Handle<Type> type,
637 Handle<Code> CompileLoadCallback(Handle<Type> type,
642 Handle<Code> CompileLoadConstant(Handle<Type> type,
647 Handle<Code> CompileLoadInterceptor(Handle<Type> type,
651 Handle<Code> CompileLoadViaGetter(Handle<Type> type,
660 Handle<Code> CompileLoadNonexistent(Handle<Type> type,
664 Handle<Code> CompileLoadGlobal(Handle<Type> type,
723 Code::KEYED_LOAD_IC) { } in LoadStubCompiler()
725 Handle<Code> CompileLoadElement(Handle<Map> receiver_map);
747 Code::Kind kind = Code::STORE_IC)
752 Handle<Code> CompileStoreTransition(Handle<JSObject> object,
757 Handle<Code> CompileStoreField(Handle<JSObject> object,
791 Handle<Code> CompileStoreCallback(Handle<JSObject> object,
796 Handle<Code> CompileStoreCallback(Handle<JSObject> object,
804 Handle<Code> CompileStoreViaSetter(Handle<JSObject> object,
809 Handle<Code> CompileStoreInterceptor(Handle<JSObject> object,
812 static Builtins::Name SlowBuiltin(Code::Kind kind) { in SlowBuiltin()
814 case Code::STORE_IC: return Builtins::kStoreIC_Slow; in SlowBuiltin()
815 case Code::KEYED_STORE_IC: return Builtins::kKeyedStoreIC_Slow; in SlowBuiltin()
852 : StoreStubCompiler(isolate, extra_ic_state, Code::KEYED_STORE_IC) {} in KeyedStoreStubCompiler()
854 Handle<Code> CompileStoreElement(Handle<Map> receiver_map);
856 Handle<Code> CompileStorePolymorphic(MapHandleList* receiver_maps,
860 Handle<Code> CompileStoreElementPolymorphic(MapHandleList* receiver_maps);
904 Code::Kind kind,
908 Handle<Code> CompileCallField(Handle<JSObject> object,
937 Handle<Code> CompileCallConstant(Handle<Object> object,
943 Handle<Code> CompileCallInterceptor(Handle<JSObject> object,
947 Handle<Code> CompileCallGlobal(Handle<JSObject> object,
960 Handle<Code> CompileCustomCall(Handle<Object> object,
965 Code::StubType type);
968 Handle<Code> Compile##name##Call(Handle<Object> object, \
973 Code::StubType type);
977 Handle<Code> CompileFastApiCall(const CallOptimization& optimization,
986 Handle<Code> GetCode(Code::StubType type, Handle<Name> name);
987 Handle<Code> GetCode(Handle<JSFunction> function);
1005 const Code::Kind kind_;