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 2195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2206 LOperand* object() { return inputs_[0]; } | 2206 LOperand* object() { return inputs_[0]; } |
2207 LOperand* value() { return inputs_[1]; } | 2207 LOperand* value() { return inputs_[1]; } |
2208 LOperand* temp() { return temps_[0]; } | 2208 LOperand* temp() { return temps_[0]; } |
2209 LOperand* temp_map() { return temps_[1]; } | 2209 LOperand* temp_map() { return temps_[1]; } |
2210 | 2210 |
2211 DECLARE_CONCRETE_INSTRUCTION(StoreNamedField, "store-named-field") | 2211 DECLARE_CONCRETE_INSTRUCTION(StoreNamedField, "store-named-field") |
2212 DECLARE_HYDROGEN_ACCESSOR(StoreNamedField) | 2212 DECLARE_HYDROGEN_ACCESSOR(StoreNamedField) |
2213 | 2213 |
2214 virtual void PrintDataTo(StringStream* stream); | 2214 virtual void PrintDataTo(StringStream* stream); |
2215 | 2215 |
2216 Handle<Object> name() const { return hydrogen()->name(); } | |
2217 bool is_in_object() { return hydrogen()->is_in_object(); } | |
2218 int offset() { return hydrogen()->offset(); } | |
2219 Handle<Map> transition() const { return hydrogen()->transition(); } | 2216 Handle<Map> transition() const { return hydrogen()->transition(); } |
2220 Representation representation() const { | 2217 Representation representation() const { |
2221 return hydrogen()->field_representation(); | 2218 return hydrogen()->field_representation(); |
2222 } | 2219 } |
2223 }; | 2220 }; |
2224 | 2221 |
2225 | 2222 |
2226 class LStoreNamedGeneric: public LTemplateInstruction<0, 3, 0> { | 2223 class LStoreNamedGeneric: public LTemplateInstruction<0, 3, 0> { |
2227 public: | 2224 public: |
2228 LStoreNamedGeneric(LOperand* context, LOperand* object, LOperand* value) { | 2225 LStoreNamedGeneric(LOperand* context, LOperand* object, LOperand* value) { |
(...skipping 758 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2987 | 2984 |
2988 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2985 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2989 }; | 2986 }; |
2990 | 2987 |
2991 #undef DECLARE_HYDROGEN_ACCESSOR | 2988 #undef DECLARE_HYDROGEN_ACCESSOR |
2992 #undef DECLARE_CONCRETE_INSTRUCTION | 2989 #undef DECLARE_CONCRETE_INSTRUCTION |
2993 | 2990 |
2994 } } // namespace v8::internal | 2991 } } // namespace v8::internal |
2995 | 2992 |
2996 #endif // V8_IA32_LITHIUM_IA32_H_ | 2993 #endif // V8_IA32_LITHIUM_IA32_H_ |
OLD | NEW |