Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(46)

Side by Side Diff: src/code-stubs.h

Issue 279423005: Customized support for feedback on calls to Array. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebase and comments. Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/ast.h ('k') | src/hydrogen.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_CODE_STUBS_H_ 5 #ifndef V8_CODE_STUBS_H_
6 #define V8_CODE_STUBS_H_ 6 #define V8_CODE_STUBS_H_
7 7
8 #include "allocation.h" 8 #include "allocation.h"
9 #include "assembler.h" 9 #include "assembler.h"
10 #include "codegen.h" 10 #include "codegen.h"
(...skipping 804 matching lines...) Expand 10 before | Expand all | Expand 10 after
815 815
816 protected: 816 protected:
817 virtual int MinorKey() { return GetExtraICState(); } 817 virtual int MinorKey() { return GetExtraICState(); }
818 virtual void PrintState(StringStream* stream) V8_FINAL V8_OVERRIDE; 818 virtual void PrintState(StringStream* stream) V8_FINAL V8_OVERRIDE;
819 819
820 private: 820 private:
821 virtual CodeStub::Major MajorKey() { return CallIC; } 821 virtual CodeStub::Major MajorKey() { return CallIC; }
822 822
823 // Code generation helpers. 823 // Code generation helpers.
824 void GenerateMiss(MacroAssembler* masm); 824 void GenerateMiss(MacroAssembler* masm);
825 void Generate_CustomFeedbackCall(MacroAssembler* masm);
826 void Generate_MonomorphicArray(MacroAssembler* masm, Label* miss);
825 827
826 CallIC::State state_; 828 CallIC::State state_;
827 }; 829 };
828 830
829 831
830 class FunctionPrototypeStub: public ICStub { 832 class FunctionPrototypeStub: public ICStub {
831 public: 833 public:
832 FunctionPrototypeStub(Isolate* isolate, Code::Kind kind) 834 FunctionPrototypeStub(Isolate* isolate, Code::Kind kind)
833 : ICStub(isolate, kind) { } 835 : ICStub(isolate, kind) { }
834 virtual void Generate(MacroAssembler* masm); 836 virtual void Generate(MacroAssembler* masm);
(...skipping 1658 matching lines...) Expand 10 before | Expand all | Expand 10 after
2493 2495
2494 2496
2495 class CallDescriptors { 2497 class CallDescriptors {
2496 public: 2498 public:
2497 static void InitializeForIsolate(Isolate* isolate); 2499 static void InitializeForIsolate(Isolate* isolate);
2498 }; 2500 };
2499 2501
2500 } } // namespace v8::internal 2502 } } // namespace v8::internal
2501 2503
2502 #endif // V8_CODE_STUBS_H_ 2504 #endif // V8_CODE_STUBS_H_
OLDNEW
« no previous file with comments | « src/ast.h ('k') | src/hydrogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698