| 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 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 Loading... |
| 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_ |
| OLD | NEW |