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 2047 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2058 | 2058 |
2059 LOperand* object() { return inputs_[0]; } | 2059 LOperand* object() { return inputs_[0]; } |
2060 LOperand* value() { return inputs_[1]; } | 2060 LOperand* value() { return inputs_[1]; } |
2061 LOperand* temp() { return temps_[0]; } | 2061 LOperand* temp() { return temps_[0]; } |
2062 | 2062 |
2063 DECLARE_CONCRETE_INSTRUCTION(StoreNamedField, "store-named-field") | 2063 DECLARE_CONCRETE_INSTRUCTION(StoreNamedField, "store-named-field") |
2064 DECLARE_HYDROGEN_ACCESSOR(StoreNamedField) | 2064 DECLARE_HYDROGEN_ACCESSOR(StoreNamedField) |
2065 | 2065 |
2066 virtual void PrintDataTo(StringStream* stream); | 2066 virtual void PrintDataTo(StringStream* stream); |
2067 | 2067 |
2068 Handle<Object> name() const { return hydrogen()->name(); } | |
2069 bool is_in_object() { return hydrogen()->is_in_object(); } | |
2070 int offset() { return hydrogen()->offset(); } | |
2071 Handle<Map> transition() const { return hydrogen()->transition(); } | 2068 Handle<Map> transition() const { return hydrogen()->transition(); } |
2072 Representation representation() const { | 2069 Representation representation() const { |
2073 return hydrogen()->field_representation(); | 2070 return hydrogen()->field_representation(); |
2074 } | 2071 } |
2075 }; | 2072 }; |
2076 | 2073 |
2077 | 2074 |
2078 class LStoreNamedGeneric: public LTemplateInstruction<0, 2, 0> { | 2075 class LStoreNamedGeneric: public LTemplateInstruction<0, 2, 0> { |
2079 public: | 2076 public: |
2080 LStoreNamedGeneric(LOperand* object, LOperand* value) { | 2077 LStoreNamedGeneric(LOperand* object, LOperand* value) { |
(...skipping 675 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2756 | 2753 |
2757 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2754 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2758 }; | 2755 }; |
2759 | 2756 |
2760 #undef DECLARE_HYDROGEN_ACCESSOR | 2757 #undef DECLARE_HYDROGEN_ACCESSOR |
2761 #undef DECLARE_CONCRETE_INSTRUCTION | 2758 #undef DECLARE_CONCRETE_INSTRUCTION |
2762 | 2759 |
2763 } } // namespace v8::int | 2760 } } // namespace v8::int |
2764 | 2761 |
2765 #endif // V8_X64_LITHIUM_X64_H_ | 2762 #endif // V8_X64_LITHIUM_X64_H_ |
OLD | NEW |