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 2016 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2027 | 2027 |
2028 DECLARE_CONCRETE_INSTRUCTION(StoreKeyedGeneric, "store-keyed-generic") | 2028 DECLARE_CONCRETE_INSTRUCTION(StoreKeyedGeneric, "store-keyed-generic") |
2029 DECLARE_HYDROGEN_ACCESSOR(StoreKeyedGeneric) | 2029 DECLARE_HYDROGEN_ACCESSOR(StoreKeyedGeneric) |
2030 | 2030 |
2031 virtual void PrintDataTo(StringStream* stream); | 2031 virtual void PrintDataTo(StringStream* stream); |
2032 | 2032 |
2033 StrictModeFlag strict_mode_flag() { return hydrogen()->strict_mode_flag(); } | 2033 StrictModeFlag strict_mode_flag() { return hydrogen()->strict_mode_flag(); } |
2034 }; | 2034 }; |
2035 | 2035 |
2036 | 2036 |
2037 class LTransitionElementsKind: public LTemplateInstruction<1, 1, 2> { | 2037 class LTransitionElementsKind: public LTemplateInstruction<0, 1, 2> { |
2038 public: | 2038 public: |
2039 LTransitionElementsKind(LOperand* object, | 2039 LTransitionElementsKind(LOperand* object, |
2040 LOperand* new_map_temp, | 2040 LOperand* new_map_temp, |
2041 LOperand* temp) { | 2041 LOperand* temp) { |
2042 inputs_[0] = object; | 2042 inputs_[0] = object; |
2043 temps_[0] = new_map_temp; | 2043 temps_[0] = new_map_temp; |
2044 temps_[1] = temp; | 2044 temps_[1] = temp; |
2045 } | 2045 } |
2046 | 2046 |
2047 LOperand* object() { return inputs_[0]; } | 2047 LOperand* object() { return inputs_[0]; } |
(...skipping 599 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2647 | 2647 |
2648 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2648 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2649 }; | 2649 }; |
2650 | 2650 |
2651 #undef DECLARE_HYDROGEN_ACCESSOR | 2651 #undef DECLARE_HYDROGEN_ACCESSOR |
2652 #undef DECLARE_CONCRETE_INSTRUCTION | 2652 #undef DECLARE_CONCRETE_INSTRUCTION |
2653 | 2653 |
2654 } } // namespace v8::int | 2654 } } // namespace v8::int |
2655 | 2655 |
2656 #endif // V8_X64_LITHIUM_X64_H_ | 2656 #endif // V8_X64_LITHIUM_X64_H_ |
OLD | NEW |