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 2232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2243 | 2243 |
2244 LOperand* object() { return inputs_[0]; } | 2244 LOperand* object() { return inputs_[0]; } |
2245 LOperand* new_map_temp() { return temps_[0]; } | 2245 LOperand* new_map_temp() { return temps_[0]; } |
2246 | 2246 |
2247 DECLARE_CONCRETE_INSTRUCTION(TransitionElementsKind, | 2247 DECLARE_CONCRETE_INSTRUCTION(TransitionElementsKind, |
2248 "transition-elements-kind") | 2248 "transition-elements-kind") |
2249 DECLARE_HYDROGEN_ACCESSOR(TransitionElementsKind) | 2249 DECLARE_HYDROGEN_ACCESSOR(TransitionElementsKind) |
2250 | 2250 |
2251 virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE; | 2251 virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE; |
2252 | 2252 |
2253 Handle<Map> original_map() { return hydrogen()->original_map(); } | 2253 Handle<Map> original_map() { return hydrogen()->original_map().handle(); } |
2254 Handle<Map> transitioned_map() { return hydrogen()->transitioned_map(); } | 2254 Handle<Map> transitioned_map() { |
| 2255 return hydrogen()->transitioned_map().handle(); |
| 2256 } |
2255 ElementsKind from_kind() { return hydrogen()->from_kind(); } | 2257 ElementsKind from_kind() { return hydrogen()->from_kind(); } |
2256 ElementsKind to_kind() { return hydrogen()->to_kind(); } | 2258 ElementsKind to_kind() { return hydrogen()->to_kind(); } |
2257 }; | 2259 }; |
2258 | 2260 |
2259 | 2261 |
2260 class LTrapAllocationMemento V8_FINAL : public LTemplateInstruction<0, 1, 1> { | 2262 class LTrapAllocationMemento V8_FINAL : public LTemplateInstruction<0, 1, 1> { |
2261 public: | 2263 public: |
2262 LTrapAllocationMemento(LOperand* object, | 2264 LTrapAllocationMemento(LOperand* object, |
2263 LOperand* temp) { | 2265 LOperand* temp) { |
2264 inputs_[0] = object; | 2266 inputs_[0] = object; |
(...skipping 502 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2767 | 2769 |
2768 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2770 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2769 }; | 2771 }; |
2770 | 2772 |
2771 #undef DECLARE_HYDROGEN_ACCESSOR | 2773 #undef DECLARE_HYDROGEN_ACCESSOR |
2772 #undef DECLARE_CONCRETE_INSTRUCTION | 2774 #undef DECLARE_CONCRETE_INSTRUCTION |
2773 | 2775 |
2774 } } // namespace v8::internal | 2776 } } // namespace v8::internal |
2775 | 2777 |
2776 #endif // V8_MIPS_LITHIUM_MIPS_H_ | 2778 #endif // V8_MIPS_LITHIUM_MIPS_H_ |
OLD | NEW |