OLD | NEW |
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 2563 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2574 | 2574 |
2575 LOperand* object() { return inputs_[0]; } | 2575 LOperand* object() { return inputs_[0]; } |
2576 LOperand* key() { return inputs_[1]; } | 2576 LOperand* key() { return inputs_[1]; } |
2577 | 2577 |
2578 DECLARE_CONCRETE_INSTRUCTION(DeleteProperty, "delete-property") | 2578 DECLARE_CONCRETE_INSTRUCTION(DeleteProperty, "delete-property") |
2579 }; | 2579 }; |
2580 | 2580 |
2581 | 2581 |
2582 class LOsrEntry: public LTemplateInstruction<0, 0, 0> { | 2582 class LOsrEntry: public LTemplateInstruction<0, 0, 0> { |
2583 public: | 2583 public: |
2584 LOsrEntry(); | 2584 LOsrEntry() {} |
2585 | 2585 |
2586 virtual bool HasInterestingComment(LCodeGen* gen) const { return false; } | 2586 virtual bool HasInterestingComment(LCodeGen* gen) const { return false; } |
2587 DECLARE_CONCRETE_INSTRUCTION(OsrEntry, "osr-entry") | 2587 DECLARE_CONCRETE_INSTRUCTION(OsrEntry, "osr-entry") |
2588 | |
2589 LOperand** SpilledRegisterArray() { return register_spills_; } | |
2590 LOperand** SpilledDoubleRegisterArray() { return double_register_spills_; } | |
2591 | |
2592 void MarkSpilledRegister(int allocation_index, LOperand* spill_operand); | |
2593 void MarkSpilledDoubleRegister(int allocation_index, | |
2594 LOperand* spill_operand); | |
2595 | |
2596 private: | |
2597 // Arrays of spill slot operands for registers with an assigned spill | |
2598 // slot, i.e., that must also be restored to the spill slot on OSR entry. | |
2599 // NULL if the register has no assigned spill slot. Indexed by allocation | |
2600 // index. | |
2601 LOperand* register_spills_[Register::kMaxNumAllocatableRegisters]; | |
2602 LOperand* double_register_spills_[ | |
2603 DoubleRegister::kMaxNumAllocatableRegisters]; | |
2604 }; | 2588 }; |
2605 | 2589 |
2606 | 2590 |
2607 class LStackCheck: public LTemplateInstruction<0, 0, 0> { | 2591 class LStackCheck: public LTemplateInstruction<0, 0, 0> { |
2608 public: | 2592 public: |
2609 DECLARE_CONCRETE_INSTRUCTION(StackCheck, "stack-check") | 2593 DECLARE_CONCRETE_INSTRUCTION(StackCheck, "stack-check") |
2610 DECLARE_HYDROGEN_ACCESSOR(StackCheck) | 2594 DECLARE_HYDROGEN_ACCESSOR(StackCheck) |
2611 | 2595 |
2612 Label* done_label() { return &done_label_; } | 2596 Label* done_label() { return &done_label_; } |
2613 | 2597 |
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2867 | 2851 |
2868 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2852 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2869 }; | 2853 }; |
2870 | 2854 |
2871 #undef DECLARE_HYDROGEN_ACCESSOR | 2855 #undef DECLARE_HYDROGEN_ACCESSOR |
2872 #undef DECLARE_CONCRETE_INSTRUCTION | 2856 #undef DECLARE_CONCRETE_INSTRUCTION |
2873 | 2857 |
2874 } } // namespace v8::internal | 2858 } } // namespace v8::internal |
2875 | 2859 |
2876 #endif // V8_ARM_LITHIUM_ARM_H_ | 2860 #endif // V8_ARM_LITHIUM_ARM_H_ |
OLD | NEW |