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 2096 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2107 LOperand* temp() { return temps_[1]; } | 2107 LOperand* temp() { return temps_[1]; } |
2108 | 2108 |
2109 DECLARE_CONCRETE_INSTRUCTION(TransitionElementsKind, | 2109 DECLARE_CONCRETE_INSTRUCTION(TransitionElementsKind, |
2110 "transition-elements-kind") | 2110 "transition-elements-kind") |
2111 DECLARE_HYDROGEN_ACCESSOR(TransitionElementsKind) | 2111 DECLARE_HYDROGEN_ACCESSOR(TransitionElementsKind) |
2112 | 2112 |
2113 virtual void PrintDataTo(StringStream* stream); | 2113 virtual void PrintDataTo(StringStream* stream); |
2114 | 2114 |
2115 Handle<Map> original_map() { return hydrogen()->original_map(); } | 2115 Handle<Map> original_map() { return hydrogen()->original_map(); } |
2116 Handle<Map> transitioned_map() { return hydrogen()->transitioned_map(); } | 2116 Handle<Map> transitioned_map() { return hydrogen()->transitioned_map(); } |
| 2117 ElementsKind from_kind() { return hydrogen()->from_kind(); } |
| 2118 ElementsKind to_kind() { return hydrogen()->to_kind(); } |
2117 }; | 2119 }; |
2118 | 2120 |
2119 | 2121 |
2120 class LStringAdd: public LTemplateInstruction<1, 3, 0> { | 2122 class LStringAdd: public LTemplateInstruction<1, 3, 0> { |
2121 public: | 2123 public: |
2122 LStringAdd(LOperand* context, LOperand* left, LOperand* right) { | 2124 LStringAdd(LOperand* context, LOperand* left, LOperand* right) { |
2123 inputs_[0] = context; | 2125 inputs_[0] = context; |
2124 inputs_[1] = left; | 2126 inputs_[1] = left; |
2125 inputs_[2] = right; | 2127 inputs_[2] = right; |
2126 } | 2128 } |
(...skipping 606 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2733 | 2735 |
2734 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2736 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2735 }; | 2737 }; |
2736 | 2738 |
2737 #undef DECLARE_HYDROGEN_ACCESSOR | 2739 #undef DECLARE_HYDROGEN_ACCESSOR |
2738 #undef DECLARE_CONCRETE_INSTRUCTION | 2740 #undef DECLARE_CONCRETE_INSTRUCTION |
2739 | 2741 |
2740 } } // namespace v8::internal | 2742 } } // namespace v8::internal |
2741 | 2743 |
2742 #endif // V8_IA32_LITHIUM_IA32_H_ | 2744 #endif // V8_IA32_LITHIUM_IA32_H_ |
OLD | NEW |