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 2000 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2011 LOperand* temp() { return temps_[1]; } | 2011 LOperand* temp() { return temps_[1]; } |
2012 | 2012 |
2013 DECLARE_CONCRETE_INSTRUCTION(TransitionElementsKind, | 2013 DECLARE_CONCRETE_INSTRUCTION(TransitionElementsKind, |
2014 "transition-elements-kind") | 2014 "transition-elements-kind") |
2015 DECLARE_HYDROGEN_ACCESSOR(TransitionElementsKind) | 2015 DECLARE_HYDROGEN_ACCESSOR(TransitionElementsKind) |
2016 | 2016 |
2017 virtual void PrintDataTo(StringStream* stream); | 2017 virtual void PrintDataTo(StringStream* stream); |
2018 | 2018 |
2019 Handle<Map> original_map() { return hydrogen()->original_map(); } | 2019 Handle<Map> original_map() { return hydrogen()->original_map(); } |
2020 Handle<Map> transitioned_map() { return hydrogen()->transitioned_map(); } | 2020 Handle<Map> transitioned_map() { return hydrogen()->transitioned_map(); } |
| 2021 ElementsKind from_kind() { return hydrogen()->from_kind(); } |
| 2022 ElementsKind to_kind() { return hydrogen()->to_kind(); } |
2021 }; | 2023 }; |
2022 | 2024 |
2023 | 2025 |
2024 class LStringAdd: public LTemplateInstruction<1, 2, 0> { | 2026 class LStringAdd: public LTemplateInstruction<1, 2, 0> { |
2025 public: | 2027 public: |
2026 LStringAdd(LOperand* left, LOperand* right) { | 2028 LStringAdd(LOperand* left, LOperand* right) { |
2027 inputs_[0] = left; | 2029 inputs_[0] = left; |
2028 inputs_[1] = right; | 2030 inputs_[1] = right; |
2029 } | 2031 } |
2030 | 2032 |
(...skipping 560 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2591 | 2593 |
2592 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2594 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2593 }; | 2595 }; |
2594 | 2596 |
2595 #undef DECLARE_HYDROGEN_ACCESSOR | 2597 #undef DECLARE_HYDROGEN_ACCESSOR |
2596 #undef DECLARE_CONCRETE_INSTRUCTION | 2598 #undef DECLARE_CONCRETE_INSTRUCTION |
2597 | 2599 |
2598 } } // namespace v8::internal | 2600 } } // namespace v8::internal |
2599 | 2601 |
2600 #endif // V8_MIPS_LITHIUM_MIPS_H_ | 2602 #endif // V8_MIPS_LITHIUM_MIPS_H_ |
OLD | NEW |