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 2183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2194 LOperand* object() { return inputs_[0]; } | 2194 LOperand* object() { return inputs_[0]; } |
2195 LOperand* new_map_temp() { return temps_[0]; } | 2195 LOperand* new_map_temp() { return temps_[0]; } |
2196 LOperand* temp() { return temps_[1]; } | 2196 LOperand* temp() { return temps_[1]; } |
2197 | 2197 |
2198 DECLARE_CONCRETE_INSTRUCTION(TransitionElementsKind, | 2198 DECLARE_CONCRETE_INSTRUCTION(TransitionElementsKind, |
2199 "transition-elements-kind") | 2199 "transition-elements-kind") |
2200 DECLARE_HYDROGEN_ACCESSOR(TransitionElementsKind) | 2200 DECLARE_HYDROGEN_ACCESSOR(TransitionElementsKind) |
2201 | 2201 |
2202 virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE; | 2202 virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE; |
2203 | 2203 |
2204 Handle<Map> original_map() { return hydrogen()->original_map(); } | 2204 Handle<Map> original_map() { return hydrogen()->original_map().handle(); } |
2205 Handle<Map> transitioned_map() { return hydrogen()->transitioned_map(); } | 2205 Handle<Map> transitioned_map() { |
| 2206 return hydrogen()->transitioned_map().handle(); |
| 2207 } |
2206 ElementsKind from_kind() { return hydrogen()->from_kind(); } | 2208 ElementsKind from_kind() { return hydrogen()->from_kind(); } |
2207 ElementsKind to_kind() { return hydrogen()->to_kind(); } | 2209 ElementsKind to_kind() { return hydrogen()->to_kind(); } |
2208 }; | 2210 }; |
2209 | 2211 |
2210 | 2212 |
2211 class LTrapAllocationMemento V8_FINAL : public LTemplateInstruction<0, 1, 1> { | 2213 class LTrapAllocationMemento V8_FINAL : public LTemplateInstruction<0, 1, 1> { |
2212 public: | 2214 public: |
2213 LTrapAllocationMemento(LOperand* object, | 2215 LTrapAllocationMemento(LOperand* object, |
2214 LOperand* temp) { | 2216 LOperand* temp) { |
2215 inputs_[0] = object; | 2217 inputs_[0] = object; |
(...skipping 499 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2715 | 2717 |
2716 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2718 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2717 }; | 2719 }; |
2718 | 2720 |
2719 #undef DECLARE_HYDROGEN_ACCESSOR | 2721 #undef DECLARE_HYDROGEN_ACCESSOR |
2720 #undef DECLARE_CONCRETE_INSTRUCTION | 2722 #undef DECLARE_CONCRETE_INSTRUCTION |
2721 | 2723 |
2722 } } // namespace v8::int | 2724 } } // namespace v8::int |
2723 | 2725 |
2724 #endif // V8_X64_LITHIUM_X64_H_ | 2726 #endif // V8_X64_LITHIUM_X64_H_ |
OLD | NEW |