| 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 2218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2229 | 2229 |
| 2230 DECLARE_CONCRETE_INSTRUCTION(StoreKeyedGeneric, "store-keyed-generic") | 2230 DECLARE_CONCRETE_INSTRUCTION(StoreKeyedGeneric, "store-keyed-generic") |
| 2231 DECLARE_HYDROGEN_ACCESSOR(StoreKeyedGeneric) | 2231 DECLARE_HYDROGEN_ACCESSOR(StoreKeyedGeneric) |
| 2232 | 2232 |
| 2233 virtual void PrintDataTo(StringStream* stream); | 2233 virtual void PrintDataTo(StringStream* stream); |
| 2234 | 2234 |
| 2235 StrictModeFlag strict_mode_flag() { return hydrogen()->strict_mode_flag(); } | 2235 StrictModeFlag strict_mode_flag() { return hydrogen()->strict_mode_flag(); } |
| 2236 }; | 2236 }; |
| 2237 | 2237 |
| 2238 | 2238 |
| 2239 class LTransitionElementsKind: public LTemplateInstruction<0, 1, 2> { | 2239 class LTransitionElementsKind: public LTemplateInstruction<0, 1, 1> { |
| 2240 public: | 2240 public: |
| 2241 LTransitionElementsKind(LOperand* object, | 2241 LTransitionElementsKind(LOperand* object, |
| 2242 LOperand* new_map_temp, | 2242 LOperand* new_map_temp) { |
| 2243 LOperand* fixed_object_temp) { | |
| 2244 inputs_[0] = object; | 2243 inputs_[0] = object; |
| 2245 temps_[0] = new_map_temp; | 2244 temps_[0] = new_map_temp; |
| 2246 temps_[1] = fixed_object_temp; | |
| 2247 } | 2245 } |
| 2248 | 2246 |
| 2249 LOperand* object() { return inputs_[0]; } | 2247 LOperand* object() { return inputs_[0]; } |
| 2250 LOperand* new_map_temp() { return temps_[0]; } | 2248 LOperand* new_map_temp() { return temps_[0]; } |
| 2251 LOperand* temp() { return temps_[1]; } | |
| 2252 | 2249 |
| 2253 DECLARE_CONCRETE_INSTRUCTION(TransitionElementsKind, | 2250 DECLARE_CONCRETE_INSTRUCTION(TransitionElementsKind, |
| 2254 "transition-elements-kind") | 2251 "transition-elements-kind") |
| 2255 DECLARE_HYDROGEN_ACCESSOR(TransitionElementsKind) | 2252 DECLARE_HYDROGEN_ACCESSOR(TransitionElementsKind) |
| 2256 | 2253 |
| 2257 virtual void PrintDataTo(StringStream* stream); | 2254 virtual void PrintDataTo(StringStream* stream); |
| 2258 | 2255 |
| 2259 Handle<Map> original_map() { return hydrogen()->original_map(); } | 2256 Handle<Map> original_map() { return hydrogen()->original_map(); } |
| 2260 Handle<Map> transitioned_map() { return hydrogen()->transitioned_map(); } | 2257 Handle<Map> transitioned_map() { return hydrogen()->transitioned_map(); } |
| 2261 ElementsKind from_kind() { return hydrogen()->from_kind(); } | 2258 ElementsKind from_kind() { return hydrogen()->from_kind(); } |
| (...skipping 540 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2802 | 2799 |
| 2803 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2800 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2804 }; | 2801 }; |
| 2805 | 2802 |
| 2806 #undef DECLARE_HYDROGEN_ACCESSOR | 2803 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2807 #undef DECLARE_CONCRETE_INSTRUCTION | 2804 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2808 | 2805 |
| 2809 } } // namespace v8::internal | 2806 } } // namespace v8::internal |
| 2810 | 2807 |
| 2811 #endif // V8_ARM_LITHIUM_ARM_H_ | 2808 #endif // V8_ARM_LITHIUM_ARM_H_ |
| OLD | NEW |