Lines Matching refs:Code
97 Code* target() const { return GetTargetAtAddress(address()); } in target()
103 static State StateFrom(Code* target, Object* receiver, Object* name);
149 void set_target(Code* code) { SetTargetAtAddress(address(), code); } in set_target()
157 Code* new_target);
166 static inline Code* GetTargetAtAddress(Address address);
167 static inline void SetTargetAtAddress(Address address, Code* target);
168 static void PostPatching(Address address, Code* target, Code* old_target);
209 Code::ExtraICState extra_ic_state,
214 CallICBase(Code::Kind kind, Isolate* isolate) in CallICBase()
219 Code::ExtraICState* extra_ic_state);
222 Handle<Code> ComputeMonomorphicStub(LookupResult* lookup,
224 Code::ExtraICState extra_state,
232 Code::ExtraICState extra_ic_state,
243 static void Clear(Address address, Code* target);
250 Code::ExtraICState extra_state);
256 Code::Kind kind,
257 Code::ExtraICState extra_state);
259 Code::Kind kind_;
267 explicit CallIC(Isolate* isolate) : CallICBase(Code::CALL_IC, isolate) { in CallIC()
274 Code::ExtraICState extra_state) { in GenerateInitialize()
280 Code::ExtraICState extra_state) { in GenerateMiss()
286 Code::ExtraICState extra_ic_state);
290 GenerateMiss(masm, argc, Code::kNoExtraICState); in GenerateNormal()
298 : CallICBase(Code::KEYED_CALL_IC, isolate) { in KeyedCallIC()
313 Code::kNoExtraICState); in GenerateMiss()
356 Handle<Code> megamorphic_stub() { in megamorphic_stub()
359 static Code* initialize_stub() { in initialize_stub()
363 Handle<Code> pre_monomorphic_stub() { in pre_monomorphic_stub()
367 static void Clear(Address address, Code* target);
418 virtual Handle<Code> GetElementStubWithoutMapCheck(
424 virtual Handle<Code> string_stub() { in string_stub()
425 return Handle<Code>::null(); in string_stub()
428 virtual Code::Kind kind() const = 0;
430 Handle<Code> ComputeStub(Handle<JSObject> receiver,
433 Handle<Code> default_stub);
435 virtual Handle<Code> ComputePolymorphicStub(
440 Handle<Code> ComputeMonomorphicStubWithoutMapCheck(
446 void GetReceiverMapsForStub(Handle<Code> stub, MapHandleList* result);
448 Handle<Code> ComputeMonomorphicStub(Handle<JSObject> receiver,
451 Handle<Code> default_stub);
499 virtual Handle<Code> GetElementStubWithoutMapCheck(
509 virtual Code::Kind kind() const { return Code::KEYED_LOAD_IC; } in kind()
511 virtual Handle<Code> ComputePolymorphicStub(MapHandleList* receiver_maps,
515 virtual Handle<Code> string_stub() { in string_stub()
527 static Code* initialize_stub() { in initialize_stub()
531 Handle<Code> megamorphic_stub() { in megamorphic_stub()
534 Handle<Code> generic_stub() const { in generic_stub()
537 Handle<Code> pre_monomorphic_stub() { in pre_monomorphic_stub()
540 Handle<Code> indexed_interceptor_stub() { in indexed_interceptor_stub()
543 Handle<Code> non_strict_arguments_stub() { in non_strict_arguments_stub()
547 static void Clear(Address address, Code* target);
585 void set_target(Code* code) { in set_target()
587 ASSERT(Code::GetStrictMode(code->extra_ic_state()) == in set_target()
588 Code::GetStrictMode(target()->extra_ic_state())); in set_target()
593 Code* megamorphic_stub() { in megamorphic_stub()
597 Code* megamorphic_stub_strict() { in megamorphic_stub_strict()
601 static Code* initialize_stub() { in initialize_stub()
605 static Code* initialize_stub_strict() { in initialize_stub_strict()
609 Handle<Code> global_proxy_stub() { in global_proxy_stub()
612 Handle<Code> global_proxy_stub_strict() { in global_proxy_stub_strict()
616 static void Clear(Address address, Code* target);
648 virtual Handle<Code> GetElementStubWithoutMapCheck(
659 virtual Code::Kind kind() const { return Code::KEYED_STORE_IC; } in kind()
661 virtual Handle<Code> ComputePolymorphicStub(MapHandleList* receiver_maps,
674 void set_target(Code* code) { in set_target()
676 ASSERT(Code::GetStrictMode(code->extra_ic_state()) == in set_target()
677 Code::GetStrictMode(target()->extra_ic_state())); in set_target()
682 static Code* initialize_stub() { in initialize_stub()
686 static Code* initialize_stub_strict() { in initialize_stub_strict()
690 Handle<Code> megamorphic_stub() { in megamorphic_stub()
693 Handle<Code> megamorphic_stub_strict() { in megamorphic_stub_strict()
696 Handle<Code> generic_stub() const { in generic_stub()
699 Handle<Code> generic_stub_strict() const { in generic_stub_strict()
702 Handle<Code> non_strict_arguments_stub() { in non_strict_arguments_stub()
706 static void Clear(Address address, Code* target);
729 void patch(Code* code);
757 void patch(Code* code);
789 static Handle<Code> GetUninitialized(Token::Value op);
795 static State ComputeState(Code* target);
815 void patch(Code* code);