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

Side by Side Diff: src/ia32/code-stubs-ia32.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 | « src/heap.cc ('k') | src/lithium.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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 void GenerateNumberStubSub(MacroAssembler* masm); 137 void GenerateNumberStubSub(MacroAssembler* masm);
138 void GenerateNumberStubBitNot(MacroAssembler* masm); 138 void GenerateNumberStubBitNot(MacroAssembler* masm);
139 void GenerateHeapNumberCodeSub(MacroAssembler* masm, Label* slow); 139 void GenerateHeapNumberCodeSub(MacroAssembler* masm, Label* slow);
140 void GenerateHeapNumberCodeBitNot(MacroAssembler* masm, Label* slow); 140 void GenerateHeapNumberCodeBitNot(MacroAssembler* masm, Label* slow);
141 141
142 void GenerateGenericStub(MacroAssembler* masm); 142 void GenerateGenericStub(MacroAssembler* masm);
143 void GenerateGenericStubSub(MacroAssembler* masm); 143 void GenerateGenericStubSub(MacroAssembler* masm);
144 void GenerateGenericStubBitNot(MacroAssembler* masm); 144 void GenerateGenericStubBitNot(MacroAssembler* masm);
145 void GenerateGenericCodeFallback(MacroAssembler* masm); 145 void GenerateGenericCodeFallback(MacroAssembler* masm);
146 146
147 virtual int GetCodeKind() { return Code::UNARY_OP_IC; } 147 virtual Code::Kind GetCodeKind() const { return Code::UNARY_OP_IC; }
148 148
149 virtual InlineCacheState GetICState() { 149 virtual InlineCacheState GetICState() {
150 return UnaryOpIC::ToState(operand_type_); 150 return UnaryOpIC::ToState(operand_type_);
151 } 151 }
152 152
153 virtual void FinishCode(Handle<Code> code) { 153 virtual void FinishCode(Handle<Code> code) {
154 code->set_unary_op_type(operand_type_); 154 code->set_unary_op_type(operand_type_);
155 } 155 }
156 }; 156 };
157 157
(...skipping 482 matching lines...) Expand 10 before | Expand all | Expand 10 after
640 Register address_; 640 Register address_;
641 RememberedSetAction remembered_set_action_; 641 RememberedSetAction remembered_set_action_;
642 SaveFPRegsMode save_fp_regs_mode_; 642 SaveFPRegsMode save_fp_regs_mode_;
643 RegisterAllocation regs_; 643 RegisterAllocation regs_;
644 }; 644 };
645 645
646 646
647 } } // namespace v8::internal 647 } } // namespace v8::internal
648 648
649 #endif // V8_IA32_CODE_STUBS_IA32_H_ 649 #endif // V8_IA32_CODE_STUBS_IA32_H_
OLDNEW
« no previous file with comments | « src/heap.cc ('k') | src/lithium.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698