| 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 2528 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2539 | 2539 |
| 2540 LOperand* object() { return inputs_[0]; } | 2540 LOperand* object() { return inputs_[0]; } |
| 2541 LOperand* key() { return inputs_[1]; } | 2541 LOperand* key() { return inputs_[1]; } |
| 2542 | 2542 |
| 2543 DECLARE_CONCRETE_INSTRUCTION(DeleteProperty, "delete-property") | 2543 DECLARE_CONCRETE_INSTRUCTION(DeleteProperty, "delete-property") |
| 2544 }; | 2544 }; |
| 2545 | 2545 |
| 2546 | 2546 |
| 2547 class LOsrEntry: public LTemplateInstruction<0, 0, 0> { | 2547 class LOsrEntry: public LTemplateInstruction<0, 0, 0> { |
| 2548 public: | 2548 public: |
| 2549 LOsrEntry(); | 2549 LOsrEntry() {} |
| 2550 | 2550 |
| 2551 virtual bool HasInterestingComment(LCodeGen* gen) const { return false; } | 2551 virtual bool HasInterestingComment(LCodeGen* gen) const { return false; } |
| 2552 DECLARE_CONCRETE_INSTRUCTION(OsrEntry, "osr-entry") | 2552 DECLARE_CONCRETE_INSTRUCTION(OsrEntry, "osr-entry") |
| 2553 | |
| 2554 LOperand** SpilledRegisterArray() { return register_spills_; } | |
| 2555 LOperand** SpilledDoubleRegisterArray() { return double_register_spills_; } | |
| 2556 | |
| 2557 void MarkSpilledRegister(int allocation_index, LOperand* spill_operand); | |
| 2558 void MarkSpilledDoubleRegister(int allocation_index, | |
| 2559 LOperand* spill_operand); | |
| 2560 | |
| 2561 private: | |
| 2562 // Arrays of spill slot operands for registers with an assigned spill | |
| 2563 // slot, i.e., that must also be restored to the spill slot on OSR entry. | |
| 2564 // NULL if the register has no assigned spill slot. Indexed by allocation | |
| 2565 // index. | |
| 2566 LOperand* register_spills_[Register::kMaxNumAllocatableRegisters]; | |
| 2567 LOperand* double_register_spills_[ | |
| 2568 DoubleRegister::kMaxNumAllocatableRegisters]; | |
| 2569 }; | 2553 }; |
| 2570 | 2554 |
| 2571 | 2555 |
| 2572 class LStackCheck: public LTemplateInstruction<0, 0, 0> { | 2556 class LStackCheck: public LTemplateInstruction<0, 0, 0> { |
| 2573 public: | 2557 public: |
| 2574 DECLARE_CONCRETE_INSTRUCTION(StackCheck, "stack-check") | 2558 DECLARE_CONCRETE_INSTRUCTION(StackCheck, "stack-check") |
| 2575 DECLARE_HYDROGEN_ACCESSOR(StackCheck) | 2559 DECLARE_HYDROGEN_ACCESSOR(StackCheck) |
| 2576 | 2560 |
| 2577 Label* done_label() { return &done_label_; } | 2561 Label* done_label() { return &done_label_; } |
| 2578 | 2562 |
| (...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2833 | 2817 |
| 2834 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2818 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2835 }; | 2819 }; |
| 2836 | 2820 |
| 2837 #undef DECLARE_HYDROGEN_ACCESSOR | 2821 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2838 #undef DECLARE_CONCRETE_INSTRUCTION | 2822 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2839 | 2823 |
| 2840 } } // namespace v8::internal | 2824 } } // namespace v8::internal |
| 2841 | 2825 |
| 2842 #endif // V8_ARM_LITHIUM_ARM_H_ | 2826 #endif // V8_ARM_LITHIUM_ARM_H_ |
| OLD | NEW |