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 2123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2134 LOperand* context() { return inputs_[0]; } | 2134 LOperand* context() { return inputs_[0]; } |
2135 LOperand* object() { return inputs_[1]; } | 2135 LOperand* object() { return inputs_[1]; } |
2136 LOperand* value() { return inputs_[2]; } | 2136 LOperand* value() { return inputs_[2]; } |
2137 | 2137 |
2138 DECLARE_CONCRETE_INSTRUCTION(StoreNamedGeneric, "store-named-generic") | 2138 DECLARE_CONCRETE_INSTRUCTION(StoreNamedGeneric, "store-named-generic") |
2139 DECLARE_HYDROGEN_ACCESSOR(StoreNamedGeneric) | 2139 DECLARE_HYDROGEN_ACCESSOR(StoreNamedGeneric) |
2140 | 2140 |
2141 virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE; | 2141 virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE; |
2142 | 2142 |
2143 Handle<Object> name() const { return hydrogen()->name(); } | 2143 Handle<Object> name() const { return hydrogen()->name(); } |
2144 StrictMode strict_mode_flag() { return hydrogen()->strict_mode_flag(); } | 2144 StrictMode strict_mode() { return hydrogen()->strict_mode(); } |
2145 }; | 2145 }; |
2146 | 2146 |
2147 | 2147 |
2148 class LStoreKeyed V8_FINAL : public LTemplateInstruction<0, 3, 0> { | 2148 class LStoreKeyed V8_FINAL : public LTemplateInstruction<0, 3, 0> { |
2149 public: | 2149 public: |
2150 LStoreKeyed(LOperand* object, LOperand* key, LOperand* value) { | 2150 LStoreKeyed(LOperand* object, LOperand* key, LOperand* value) { |
2151 inputs_[0] = object; | 2151 inputs_[0] = object; |
2152 inputs_[1] = key; | 2152 inputs_[1] = key; |
2153 inputs_[2] = value; | 2153 inputs_[2] = value; |
2154 } | 2154 } |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2191 LOperand* context() { return inputs_[0]; } | 2191 LOperand* context() { return inputs_[0]; } |
2192 LOperand* object() { return inputs_[1]; } | 2192 LOperand* object() { return inputs_[1]; } |
2193 LOperand* key() { return inputs_[2]; } | 2193 LOperand* key() { return inputs_[2]; } |
2194 LOperand* value() { return inputs_[3]; } | 2194 LOperand* value() { return inputs_[3]; } |
2195 | 2195 |
2196 DECLARE_CONCRETE_INSTRUCTION(StoreKeyedGeneric, "store-keyed-generic") | 2196 DECLARE_CONCRETE_INSTRUCTION(StoreKeyedGeneric, "store-keyed-generic") |
2197 DECLARE_HYDROGEN_ACCESSOR(StoreKeyedGeneric) | 2197 DECLARE_HYDROGEN_ACCESSOR(StoreKeyedGeneric) |
2198 | 2198 |
2199 virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE; | 2199 virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE; |
2200 | 2200 |
2201 StrictMode strict_mode_flag() { return hydrogen()->strict_mode_flag(); } | 2201 StrictMode strict_mode() { return hydrogen()->strict_mode(); } |
2202 }; | 2202 }; |
2203 | 2203 |
2204 | 2204 |
2205 class LTransitionElementsKind V8_FINAL : public LTemplateInstruction<0, 2, 1> { | 2205 class LTransitionElementsKind V8_FINAL : public LTemplateInstruction<0, 2, 1> { |
2206 public: | 2206 public: |
2207 LTransitionElementsKind(LOperand* object, | 2207 LTransitionElementsKind(LOperand* object, |
2208 LOperand* context, | 2208 LOperand* context, |
2209 LOperand* new_map_temp) { | 2209 LOperand* new_map_temp) { |
2210 inputs_[0] = object; | 2210 inputs_[0] = object; |
2211 inputs_[1] = context; | 2211 inputs_[1] = context; |
(...skipping 577 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2789 | 2789 |
2790 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2790 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2791 }; | 2791 }; |
2792 | 2792 |
2793 #undef DECLARE_HYDROGEN_ACCESSOR | 2793 #undef DECLARE_HYDROGEN_ACCESSOR |
2794 #undef DECLARE_CONCRETE_INSTRUCTION | 2794 #undef DECLARE_CONCRETE_INSTRUCTION |
2795 | 2795 |
2796 } } // namespace v8::internal | 2796 } } // namespace v8::internal |
2797 | 2797 |
2798 #endif // V8_MIPS_LITHIUM_MIPS_H_ | 2798 #endif // V8_MIPS_LITHIUM_MIPS_H_ |
OLD | NEW |