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

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

Issue 14307006: Make it possible to Crankshaft all kinds of stubs. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Review feedback Created 7 years, 8 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 | « no previous file | src/code-stubs.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 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 void GenerateNumberStubSub(MacroAssembler* masm); 123 void GenerateNumberStubSub(MacroAssembler* masm);
124 void GenerateNumberStubBitNot(MacroAssembler* masm); 124 void GenerateNumberStubBitNot(MacroAssembler* masm);
125 void GenerateHeapNumberCodeSub(MacroAssembler* masm, Label* slow); 125 void GenerateHeapNumberCodeSub(MacroAssembler* masm, Label* slow);
126 void GenerateHeapNumberCodeBitNot(MacroAssembler* masm, Label* slow); 126 void GenerateHeapNumberCodeBitNot(MacroAssembler* masm, Label* slow);
127 127
128 void GenerateGenericStub(MacroAssembler* masm); 128 void GenerateGenericStub(MacroAssembler* masm);
129 void GenerateGenericStubSub(MacroAssembler* masm); 129 void GenerateGenericStubSub(MacroAssembler* masm);
130 void GenerateGenericStubBitNot(MacroAssembler* masm); 130 void GenerateGenericStubBitNot(MacroAssembler* masm);
131 void GenerateGenericCodeFallback(MacroAssembler* masm); 131 void GenerateGenericCodeFallback(MacroAssembler* masm);
132 132
133 virtual int GetCodeKind() { return Code::UNARY_OP_IC; } 133 virtual Code::Kind GetCodeKind() const { return Code::UNARY_OP_IC; }
134 134
135 virtual InlineCacheState GetICState() { 135 virtual InlineCacheState GetICState() {
136 return UnaryOpIC::ToState(operand_type_); 136 return UnaryOpIC::ToState(operand_type_);
137 } 137 }
138 138
139 virtual void FinishCode(Handle<Code> code) { 139 virtual void FinishCode(Handle<Code> code) {
140 code->set_unary_op_type(operand_type_); 140 code->set_unary_op_type(operand_type_);
141 } 141 }
142 }; 142 };
143 143
(...skipping 646 matching lines...) Expand 10 before | Expand all | Expand 10 after
790 790
791 class LookupModeBits: public BitField<LookupMode, 0, 1> {}; 791 class LookupModeBits: public BitField<LookupMode, 0, 1> {};
792 792
793 LookupMode mode_; 793 LookupMode mode_;
794 }; 794 };
795 795
796 796
797 } } // namespace v8::internal 797 } } // namespace v8::internal
798 798
799 #endif // V8_ARM_CODE_STUBS_ARM_H_ 799 #endif // V8_ARM_CODE_STUBS_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | src/code-stubs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698