• Home
  • Raw
  • Download

Lines Matching refs:Code

142   Handle<Code> GetCode(Isolate* isolate);
145 Handle<Code> GetCodeCopyFromTemplate(Isolate* isolate);
154 static Major GetMajorKey(Code* code_stub) { in GetMajorKey()
175 bool FindCodeInCache(Code** code_out, Isolate* isolate);
187 virtual Code::StubType GetStubType() { in GetStubType()
188 return Code::NORMAL; in GetStubType()
203 virtual Handle<Code> GenerateCode(Isolate* isolate) = 0;
217 void RecordCodeGeneration(Code* code, Isolate* isolate);
220 virtual void FinishCode(Handle<Code> code) { } in FinishCode()
224 virtual void Activate(Code* code) { } in Activate()
227 virtual Code::Kind GetCodeKind() const;
232 virtual void AddToSpecialCache(Handle<Code> new_object) { } in AddToSpecialCache()
235 virtual bool FindCodeInSpecialCache(Code** code_out, Isolate* isolate) { in FindCodeInSpecialCache()
261 virtual Handle<Code> GenerateCode(Isolate* isolate);
263 virtual Code::Kind GetCodeKind() const { return Code::STUB; } in GetCodeKind()
352 virtual Code::Kind GetCodeKind() const { return Code::STUB; } in GetCodeKind()
361 static Handle<Code> GetUninitialized(Isolate* isolate) { in GetUninitialized()
371 virtual Handle<Code> GenerateCode(Isolate* isolate) = 0;
375 Handle<Code> GenerateLightweightMissCode(Isolate* isolate);
469 virtual Handle<Code> GenerateCode(Isolate* isolate);
485 virtual Handle<Code> GenerateCode(Isolate* isolate) V8_OVERRIDE;
508 virtual Handle<Code> GenerateCode(Isolate* isolate);
613 virtual Handle<Code> GenerateCode(Isolate* isolate);
653 virtual Handle<Code> GenerateCode(Isolate* isolate);
673 virtual Handle<Code> GenerateCode(Isolate* isolate);
785 explicit ICStub(Code::Kind kind) : kind_(kind) { } in ICStub()
786 virtual Code::Kind GetCodeKind() const { return kind_; } in GetCodeKind()
789 bool Describes(Code* code) { in Describes()
794 class KindBits: public BitField<Code::Kind, 0, 4> {};
795 virtual void FinishCode(Handle<Code> code) { in FinishCode()
798 Code::Kind kind() { return kind_; } in kind()
805 Code::Kind kind_;
811 explicit FunctionPrototypeStub(Code::Kind kind) : ICStub(kind) { } in FunctionPrototypeStub()
821 explicit StringLengthStub(Code::Kind kind) : ICStub(kind) { } in StringLengthStub()
832 StoreICStub(Code::Kind kind, StrictModeFlag strict_mode) in StoreICStub()
853 explicit StoreArrayLengthStub(Code::Kind kind, StrictModeFlag strict_mode) in StoreArrayLengthStub()
864 virtual Code::Kind GetCodeKind() const { return kind(); } in GetCodeKind()
868 class KindBits: public BitField<Code::Kind, 0, 4> {};
869 virtual Code::Kind kind() const = 0;
875 virtual Code::Kind GetCodeKind() const { return Code::HANDLER; } in GetCodeKind()
888 Initialize(Code::LOAD_IC, inobject, index, representation); in LoadFieldStub()
891 virtual Handle<Code> GenerateCode(Isolate* isolate);
902 virtual Code::Kind kind() const { in kind()
921 virtual Code::StubType GetStubType() { return Code::FAST; } in GetStubType()
926 void Initialize(Code::Kind kind, in Initialize()
952 Handle<Code> GetCodeCopyFromTemplate(Isolate* isolate, in GetCodeCopyFromTemplate()
955 Handle<Code> code = CodeStub::GetCodeCopyFromTemplate(isolate); in GetCodeCopyFromTemplate()
964 virtual Code::Kind kind() const { return Code::STORE_IC; } in kind()
966 virtual Handle<Code> GenerateCode(Isolate* isolate);
1005 Initialize(Code::KEYED_LOAD_IC, inobject, index, representation); in KeyedLoadFieldStub()
1012 virtual Handle<Code> GenerateCode(Isolate* isolate);
1025 virtual Code::Kind kind() const { return Code::KEYED_CALL_IC; } in kind()
1035 static bool IsHoley(Handle<Code> code) { in IsHoley()
1044 virtual Handle<Code> GenerateCode(Isolate* isolate);
1055 STATIC_ASSERT(Code::kArgumentsBits <= kStubMinorKeyBits - 2);
1056 class ArgcBits: public BitField<int, 2, Code::kArgumentsBits> {};
1077 virtual Code::Kind GetCodeKind() const V8_OVERRIDE { in GetCodeKind()
1078 return Code::BINARY_OP_IC; in GetCodeKind()
1093 virtual Handle<Code> GenerateCode(Isolate* isolate) V8_OVERRIDE;
1131 virtual Handle<Code> GenerateCode(Isolate* isolate) V8_OVERRIDE;
1192 virtual void FinishCode(Handle<Code> code) { in FinishCode()
1199 virtual Code::Kind GetCodeKind() const { return Code::COMPARE_IC; } in GetCodeKind()
1214 virtual void AddToSpecialCache(Handle<Code> new_object);
1215 virtual bool FindCodeInSpecialCache(Code** code_out, Isolate* isolate);
1240 static Handle<Code> GetUninitialized(Isolate* isolate, in GetUninitialized()
1266 virtual Code::Kind GetCodeKind() const { return Code::COMPARE_NIL_IC; } in GetCodeKind()
1268 virtual Handle<Code> GenerateCode(Isolate* isolate);
1376 virtual void FinishCode(Handle<Code> code);
1455 virtual void FinishCode(Handle<Code> code) { in FinishCode()
1495 virtual void FinishCode(Handle<Code> code) { in FinishCode()
1691 virtual Handle<Code> GenerateCode(Isolate* isolate) V8_OVERRIDE;
1807 virtual Handle<Code> GenerateCode(Isolate* isolate);
1847 virtual Handle<Code> GenerateCode(Isolate* isolate);
1882 virtual Handle<Code> GenerateCode(Isolate* isolate);
1967 virtual Handle<Code> GenerateCode(Isolate* isolate);
1989 virtual Handle<Code> GenerateCode(Isolate* isolate);
2011 virtual Handle<Code> GenerateCode(Isolate* isolate);
2053 virtual Handle<Code> GenerateCode(Isolate* isolate);
2072 virtual Handle<Code> GenerateCode(Isolate* isolate);
2091 virtual Handle<Code> GenerateCode(Isolate* isolate);
2180 virtual Handle<Code> GenerateCode(Isolate* isolate);
2185 virtual Code::Kind GetCodeKind() const { return Code::TO_BOOLEAN_IC; } in GetCodeKind()
2197 static Handle<Code> GetUninitialized(Isolate* isolate) { in GetUninitialized()
2240 virtual Handle<Code> GenerateCode(Isolate* isolate);