| 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 2100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2111 | 2111 |
| 2112 LOperand* context() { return inputs_[0]; } | 2112 LOperand* context() { return inputs_[0]; } |
| 2113 LOperand* object() { return inputs_[1]; } | 2113 LOperand* object() { return inputs_[1]; } |
| 2114 LOperand* value() { return inputs_[2]; } | 2114 LOperand* value() { return inputs_[2]; } |
| 2115 | 2115 |
| 2116 DECLARE_CONCRETE_INSTRUCTION(StoreNamedGeneric, "store-named-generic") | 2116 DECLARE_CONCRETE_INSTRUCTION(StoreNamedGeneric, "store-named-generic") |
| 2117 DECLARE_HYDROGEN_ACCESSOR(StoreNamedGeneric) | 2117 DECLARE_HYDROGEN_ACCESSOR(StoreNamedGeneric) |
| 2118 | 2118 |
| 2119 virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE; | 2119 virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE; |
| 2120 Handle<Object> name() const { return hydrogen()->name(); } | 2120 Handle<Object> name() const { return hydrogen()->name(); } |
| 2121 StrictModeFlag strict_mode_flag() { return hydrogen()->strict_mode_flag(); } | 2121 StrictMode strict_mode() { return hydrogen()->strict_mode(); } |
| 2122 }; | 2122 }; |
| 2123 | 2123 |
| 2124 | 2124 |
| 2125 class LStoreKeyed V8_FINAL : public LTemplateInstruction<0, 3, 0> { | 2125 class LStoreKeyed V8_FINAL : public LTemplateInstruction<0, 3, 0> { |
| 2126 public: | 2126 public: |
| 2127 LStoreKeyed(LOperand* obj, LOperand* key, LOperand* val) { | 2127 LStoreKeyed(LOperand* obj, LOperand* key, LOperand* val) { |
| 2128 inputs_[0] = obj; | 2128 inputs_[0] = obj; |
| 2129 inputs_[1] = key; | 2129 inputs_[1] = key; |
| 2130 inputs_[2] = val; | 2130 inputs_[2] = val; |
| 2131 } | 2131 } |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2168 LOperand* context() { return inputs_[0]; } | 2168 LOperand* context() { return inputs_[0]; } |
| 2169 LOperand* object() { return inputs_[1]; } | 2169 LOperand* object() { return inputs_[1]; } |
| 2170 LOperand* key() { return inputs_[2]; } | 2170 LOperand* key() { return inputs_[2]; } |
| 2171 LOperand* value() { return inputs_[3]; } | 2171 LOperand* value() { return inputs_[3]; } |
| 2172 | 2172 |
| 2173 DECLARE_CONCRETE_INSTRUCTION(StoreKeyedGeneric, "store-keyed-generic") | 2173 DECLARE_CONCRETE_INSTRUCTION(StoreKeyedGeneric, "store-keyed-generic") |
| 2174 DECLARE_HYDROGEN_ACCESSOR(StoreKeyedGeneric) | 2174 DECLARE_HYDROGEN_ACCESSOR(StoreKeyedGeneric) |
| 2175 | 2175 |
| 2176 virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE; | 2176 virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE; |
| 2177 | 2177 |
| 2178 StrictModeFlag strict_mode_flag() { return hydrogen()->strict_mode_flag(); } | 2178 StrictMode strict_mode() { return hydrogen()->strict_mode(); } |
| 2179 }; | 2179 }; |
| 2180 | 2180 |
| 2181 | 2181 |
| 2182 class LTransitionElementsKind V8_FINAL : public LTemplateInstruction<0, 2, 2> { | 2182 class LTransitionElementsKind V8_FINAL : public LTemplateInstruction<0, 2, 2> { |
| 2183 public: | 2183 public: |
| 2184 LTransitionElementsKind(LOperand* object, | 2184 LTransitionElementsKind(LOperand* object, |
| 2185 LOperand* context, | 2185 LOperand* context, |
| 2186 LOperand* new_map_temp, | 2186 LOperand* new_map_temp, |
| 2187 LOperand* temp) { | 2187 LOperand* temp) { |
| 2188 inputs_[0] = object; | 2188 inputs_[0] = object; |
| (...skipping 566 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2755 | 2755 |
| 2756 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2756 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2757 }; | 2757 }; |
| 2758 | 2758 |
| 2759 #undef DECLARE_HYDROGEN_ACCESSOR | 2759 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2760 #undef DECLARE_CONCRETE_INSTRUCTION | 2760 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2761 | 2761 |
| 2762 } } // namespace v8::internal | 2762 } } // namespace v8::internal |
| 2763 | 2763 |
| 2764 #endif // V8_IA32_LITHIUM_IA32_H_ | 2764 #endif // V8_IA32_LITHIUM_IA32_H_ |
| OLD | NEW |