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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 void GenerateNumberStubSub(MacroAssembler* masm); | 124 void GenerateNumberStubSub(MacroAssembler* masm); |
125 void GenerateNumberStubBitNot(MacroAssembler* masm); | 125 void GenerateNumberStubBitNot(MacroAssembler* masm); |
126 void GenerateHeapNumberCodeSub(MacroAssembler* masm, Label* slow); | 126 void GenerateHeapNumberCodeSub(MacroAssembler* masm, Label* slow); |
127 void GenerateHeapNumberCodeBitNot(MacroAssembler* masm, Label* slow); | 127 void GenerateHeapNumberCodeBitNot(MacroAssembler* masm, Label* slow); |
128 | 128 |
129 void GenerateGenericStub(MacroAssembler* masm); | 129 void GenerateGenericStub(MacroAssembler* masm); |
130 void GenerateGenericStubSub(MacroAssembler* masm); | 130 void GenerateGenericStubSub(MacroAssembler* masm); |
131 void GenerateGenericStubBitNot(MacroAssembler* masm); | 131 void GenerateGenericStubBitNot(MacroAssembler* masm); |
132 void GenerateGenericCodeFallback(MacroAssembler* masm); | 132 void GenerateGenericCodeFallback(MacroAssembler* masm); |
133 | 133 |
134 virtual int GetCodeKind() { return Code::UNARY_OP_IC; } | 134 virtual Code::Kind GetCodeKind() const { return Code::UNARY_OP_IC; } |
135 | 135 |
136 virtual InlineCacheState GetICState() { | 136 virtual InlineCacheState GetICState() { |
137 return UnaryOpIC::ToState(operand_type_); | 137 return UnaryOpIC::ToState(operand_type_); |
138 } | 138 } |
139 | 139 |
140 virtual void FinishCode(Handle<Code> code) { | 140 virtual void FinishCode(Handle<Code> code) { |
141 code->set_unary_op_type(operand_type_); | 141 code->set_unary_op_type(operand_type_); |
142 } | 142 } |
143 }; | 143 }; |
144 | 144 |
(...skipping 617 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
762 | 762 |
763 class LookupModeBits: public BitField<LookupMode, 0, 1> {}; | 763 class LookupModeBits: public BitField<LookupMode, 0, 1> {}; |
764 | 764 |
765 LookupMode mode_; | 765 LookupMode mode_; |
766 }; | 766 }; |
767 | 767 |
768 | 768 |
769 } } // namespace v8::internal | 769 } } // namespace v8::internal |
770 | 770 |
771 #endif // V8_MIPS_CODE_STUBS_ARM_H_ | 771 #endif // V8_MIPS_CODE_STUBS_ARM_H_ |
OLD | NEW |