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 2129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2140 | 2140 |
2141 LOperand* object() { return inputs_[0]; } | 2141 LOperand* object() { return inputs_[0]; } |
2142 LOperand* value() { return inputs_[1]; } | 2142 LOperand* value() { return inputs_[1]; } |
2143 LOperand* temp() { return temps_[0]; } | 2143 LOperand* temp() { return temps_[0]; } |
2144 | 2144 |
2145 DECLARE_CONCRETE_INSTRUCTION(StoreNamedField, "store-named-field") | 2145 DECLARE_CONCRETE_INSTRUCTION(StoreNamedField, "store-named-field") |
2146 DECLARE_HYDROGEN_ACCESSOR(StoreNamedField) | 2146 DECLARE_HYDROGEN_ACCESSOR(StoreNamedField) |
2147 | 2147 |
2148 virtual void PrintDataTo(StringStream* stream); | 2148 virtual void PrintDataTo(StringStream* stream); |
2149 | 2149 |
2150 Handle<Object> name() const { return hydrogen()->name(); } | |
2151 bool is_in_object() { return hydrogen()->is_in_object(); } | |
2152 int offset() { return hydrogen()->offset(); } | |
2153 Handle<Map> transition() const { return hydrogen()->transition(); } | 2150 Handle<Map> transition() const { return hydrogen()->transition(); } |
2154 Representation representation() const { | 2151 Representation representation() const { |
2155 return hydrogen()->field_representation(); | 2152 return hydrogen()->field_representation(); |
2156 } | 2153 } |
2157 }; | 2154 }; |
2158 | 2155 |
2159 | 2156 |
2160 class LStoreNamedGeneric: public LTemplateInstruction<0, 2, 0> { | 2157 class LStoreNamedGeneric: public LTemplateInstruction<0, 2, 0> { |
2161 public: | 2158 public: |
2162 LStoreNamedGeneric(LOperand* object, LOperand* value) { | 2159 LStoreNamedGeneric(LOperand* object, LOperand* value) { |
(...skipping 705 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2868 | 2865 |
2869 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2866 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2870 }; | 2867 }; |
2871 | 2868 |
2872 #undef DECLARE_HYDROGEN_ACCESSOR | 2869 #undef DECLARE_HYDROGEN_ACCESSOR |
2873 #undef DECLARE_CONCRETE_INSTRUCTION | 2870 #undef DECLARE_CONCRETE_INSTRUCTION |
2874 | 2871 |
2875 } } // namespace v8::internal | 2872 } } // namespace v8::internal |
2876 | 2873 |
2877 #endif // V8_ARM_LITHIUM_ARM_H_ | 2874 #endif // V8_ARM_LITHIUM_ARM_H_ |
OLD | NEW |