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 2048 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2059 | 2059 |
2060 LOperand* object() { return inputs_[0]; } | 2060 LOperand* object() { return inputs_[0]; } |
2061 LOperand* value() { return inputs_[1]; } | 2061 LOperand* value() { return inputs_[1]; } |
2062 LOperand* temp() { return temps_[0]; } | 2062 LOperand* temp() { return temps_[0]; } |
2063 | 2063 |
2064 DECLARE_CONCRETE_INSTRUCTION(StoreNamedField, "store-named-field") | 2064 DECLARE_CONCRETE_INSTRUCTION(StoreNamedField, "store-named-field") |
2065 DECLARE_HYDROGEN_ACCESSOR(StoreNamedField) | 2065 DECLARE_HYDROGEN_ACCESSOR(StoreNamedField) |
2066 | 2066 |
2067 virtual void PrintDataTo(StringStream* stream); | 2067 virtual void PrintDataTo(StringStream* stream); |
2068 | 2068 |
2069 Handle<Map> transition() const { return hydrogen()->transition(); } | 2069 Handle<Map> transition() const { return hydrogen()->transition_map(); } |
2070 Representation representation() const { | 2070 Representation representation() const { |
2071 return hydrogen()->field_representation(); | 2071 return hydrogen()->field_representation(); |
2072 } | 2072 } |
2073 }; | 2073 }; |
2074 | 2074 |
2075 | 2075 |
2076 class LStoreNamedGeneric: public LTemplateInstruction<0, 2, 0> { | 2076 class LStoreNamedGeneric: public LTemplateInstruction<0, 2, 0> { |
2077 public: | 2077 public: |
2078 LStoreNamedGeneric(LOperand* object, LOperand* value) { | 2078 LStoreNamedGeneric(LOperand* object, LOperand* value) { |
2079 inputs_[0] = object; | 2079 inputs_[0] = object; |
(...skipping 606 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2686 | 2686 |
2687 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2687 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2688 }; | 2688 }; |
2689 | 2689 |
2690 #undef DECLARE_HYDROGEN_ACCESSOR | 2690 #undef DECLARE_HYDROGEN_ACCESSOR |
2691 #undef DECLARE_CONCRETE_INSTRUCTION | 2691 #undef DECLARE_CONCRETE_INSTRUCTION |
2692 | 2692 |
2693 } } // namespace v8::int | 2693 } } // namespace v8::int |
2694 | 2694 |
2695 #endif // V8_X64_LITHIUM_X64_H_ | 2695 #endif // V8_X64_LITHIUM_X64_H_ |
OLD | NEW |