| OLD | NEW |
| 1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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 2621 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2632 LOperand* object() { return inputs_[0]; } | 2632 LOperand* object() { return inputs_[0]; } |
| 2633 LOperand* temp1() { return temps_[0]; } | 2633 LOperand* temp1() { return temps_[0]; } |
| 2634 LOperand* temp2() { return temps_[1]; } | 2634 LOperand* temp2() { return temps_[1]; } |
| 2635 | 2635 |
| 2636 DECLARE_CONCRETE_INSTRUCTION(TransitionElementsKind, | 2636 DECLARE_CONCRETE_INSTRUCTION(TransitionElementsKind, |
| 2637 "transition-elements-kind") | 2637 "transition-elements-kind") |
| 2638 DECLARE_HYDROGEN_ACCESSOR(TransitionElementsKind) | 2638 DECLARE_HYDROGEN_ACCESSOR(TransitionElementsKind) |
| 2639 | 2639 |
| 2640 virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE; | 2640 virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE; |
| 2641 | 2641 |
| 2642 Handle<Map> original_map() const { return hydrogen()->original_map(); } | 2642 Handle<Map> original_map() { return hydrogen()->original_map().handle(); } |
| 2643 Handle<Map> transitioned_map() const { | 2643 Handle<Map> transitioned_map() { |
| 2644 return hydrogen()->transitioned_map(); | 2644 return hydrogen()->transitioned_map().handle(); |
| 2645 } | 2645 } |
| 2646 ElementsKind from_kind() const { return hydrogen()->from_kind(); } | 2646 ElementsKind from_kind() const { return hydrogen()->from_kind(); } |
| 2647 ElementsKind to_kind() const { return hydrogen()->to_kind(); } | 2647 ElementsKind to_kind() const { return hydrogen()->to_kind(); } |
| 2648 }; | 2648 }; |
| 2649 | 2649 |
| 2650 | 2650 |
| 2651 class LTrapAllocationMemento V8_FINAL : public LTemplateInstruction<0, 1, 2> { | 2651 class LTrapAllocationMemento V8_FINAL : public LTemplateInstruction<0, 1, 2> { |
| 2652 public: | 2652 public: |
| 2653 LTrapAllocationMemento(LOperand* object, LOperand* temp1, LOperand* temp2) { | 2653 LTrapAllocationMemento(LOperand* object, LOperand* temp1, LOperand* temp2) { |
| 2654 inputs_[0] = object; | 2654 inputs_[0] = object; |
| (...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2962 | 2962 |
| 2963 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2963 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2964 }; | 2964 }; |
| 2965 | 2965 |
| 2966 #undef DECLARE_HYDROGEN_ACCESSOR | 2966 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2967 #undef DECLARE_CONCRETE_INSTRUCTION | 2967 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2968 | 2968 |
| 2969 } } // namespace v8::internal | 2969 } } // namespace v8::internal |
| 2970 | 2970 |
| 2971 #endif // V8_A64_LITHIUM_A64_H_ | 2971 #endif // V8_A64_LITHIUM_A64_H_ |
| OLD | NEW |