OLD | NEW |
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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 void GenerateNumberStubSub(MacroAssembler* masm); | 131 void GenerateNumberStubSub(MacroAssembler* masm); |
132 void GenerateNumberStubBitNot(MacroAssembler* masm); | 132 void GenerateNumberStubBitNot(MacroAssembler* masm); |
133 void GenerateHeapNumberCodeSub(MacroAssembler* masm, Label* slow); | 133 void GenerateHeapNumberCodeSub(MacroAssembler* masm, Label* slow); |
134 void GenerateHeapNumberCodeBitNot(MacroAssembler* masm, Label* slow); | 134 void GenerateHeapNumberCodeBitNot(MacroAssembler* masm, Label* slow); |
135 | 135 |
136 void GenerateGenericStub(MacroAssembler* masm); | 136 void GenerateGenericStub(MacroAssembler* masm); |
137 void GenerateGenericStubSub(MacroAssembler* masm); | 137 void GenerateGenericStubSub(MacroAssembler* masm); |
138 void GenerateGenericStubBitNot(MacroAssembler* masm); | 138 void GenerateGenericStubBitNot(MacroAssembler* masm); |
139 void GenerateGenericCodeFallback(MacroAssembler* masm); | 139 void GenerateGenericCodeFallback(MacroAssembler* masm); |
140 | 140 |
141 virtual int GetCodeKind() { return Code::UNARY_OP_IC; } | 141 virtual Code::Kind GetCodeKind() const { return Code::UNARY_OP_IC; } |
142 | 142 |
143 virtual InlineCacheState GetICState() { | 143 virtual InlineCacheState GetICState() { |
144 return UnaryOpIC::ToState(operand_type_); | 144 return UnaryOpIC::ToState(operand_type_); |
145 } | 145 } |
146 | 146 |
147 virtual void FinishCode(Handle<Code> code) { | 147 virtual void FinishCode(Handle<Code> code) { |
148 code->set_unary_op_type(operand_type_); | 148 code->set_unary_op_type(operand_type_); |
149 } | 149 } |
150 }; | 150 }; |
151 | 151 |
(...skipping 462 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
614 RememberedSetAction remembered_set_action_; | 614 RememberedSetAction remembered_set_action_; |
615 SaveFPRegsMode save_fp_regs_mode_; | 615 SaveFPRegsMode save_fp_regs_mode_; |
616 Label slow_; | 616 Label slow_; |
617 RegisterAllocation regs_; | 617 RegisterAllocation regs_; |
618 }; | 618 }; |
619 | 619 |
620 | 620 |
621 } } // namespace v8::internal | 621 } } // namespace v8::internal |
622 | 622 |
623 #endif // V8_X64_CODE_STUBS_X64_H_ | 623 #endif // V8_X64_CODE_STUBS_X64_H_ |
OLD | NEW |