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 2027 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2038 | 2038 |
2039 DECLARE_CONCRETE_INSTRUCTION(StoreKeyedGeneric, "store-keyed-generic") | 2039 DECLARE_CONCRETE_INSTRUCTION(StoreKeyedGeneric, "store-keyed-generic") |
2040 DECLARE_HYDROGEN_ACCESSOR(StoreKeyedGeneric) | 2040 DECLARE_HYDROGEN_ACCESSOR(StoreKeyedGeneric) |
2041 | 2041 |
2042 virtual void PrintDataTo(StringStream* stream); | 2042 virtual void PrintDataTo(StringStream* stream); |
2043 | 2043 |
2044 StrictModeFlag strict_mode_flag() { return hydrogen()->strict_mode_flag(); } | 2044 StrictModeFlag strict_mode_flag() { return hydrogen()->strict_mode_flag(); } |
2045 }; | 2045 }; |
2046 | 2046 |
2047 | 2047 |
2048 class LTransitionElementsKind: public LTemplateInstruction<1, 1, 2> { | 2048 class LTransitionElementsKind: public LTemplateInstruction<0, 1, 2> { |
2049 public: | 2049 public: |
2050 LTransitionElementsKind(LOperand* object, | 2050 LTransitionElementsKind(LOperand* object, |
2051 LOperand* new_map_temp, | 2051 LOperand* new_map_temp, |
2052 LOperand* fixed_object_temp) { | 2052 LOperand* fixed_object_temp) { |
2053 inputs_[0] = object; | 2053 inputs_[0] = object; |
2054 temps_[0] = new_map_temp; | 2054 temps_[0] = new_map_temp; |
2055 temps_[1] = fixed_object_temp; | 2055 temps_[1] = fixed_object_temp; |
2056 } | 2056 } |
2057 | 2057 |
2058 LOperand* object() { return inputs_[0]; } | 2058 LOperand* object() { return inputs_[0]; } |
(...skipping 616 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2675 | 2675 |
2676 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2676 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2677 }; | 2677 }; |
2678 | 2678 |
2679 #undef DECLARE_HYDROGEN_ACCESSOR | 2679 #undef DECLARE_HYDROGEN_ACCESSOR |
2680 #undef DECLARE_CONCRETE_INSTRUCTION | 2680 #undef DECLARE_CONCRETE_INSTRUCTION |
2681 | 2681 |
2682 } } // namespace v8::internal | 2682 } } // namespace v8::internal |
2683 | 2683 |
2684 #endif // V8_MIPS_LITHIUM_MIPS_H_ | 2684 #endif // V8_MIPS_LITHIUM_MIPS_H_ |
OLD | NEW |