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 2034 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2045 LOperand* context() { return inputs_[0]; } | 2045 LOperand* context() { return inputs_[0]; } |
2046 LOperand* object() { return inputs_[1]; } | 2046 LOperand* object() { return inputs_[1]; } |
2047 LOperand* value() { return inputs_[2]; } | 2047 LOperand* value() { return inputs_[2]; } |
2048 | 2048 |
2049 DECLARE_CONCRETE_INSTRUCTION(StoreNamedGeneric, "store-named-generic") | 2049 DECLARE_CONCRETE_INSTRUCTION(StoreNamedGeneric, "store-named-generic") |
2050 DECLARE_HYDROGEN_ACCESSOR(StoreNamedGeneric) | 2050 DECLARE_HYDROGEN_ACCESSOR(StoreNamedGeneric) |
2051 | 2051 |
2052 virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE; | 2052 virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE; |
2053 | 2053 |
2054 Handle<Object> name() const { return hydrogen()->name(); } | 2054 Handle<Object> name() const { return hydrogen()->name(); } |
2055 StrictModeFlag strict_mode_flag() { return hydrogen()->strict_mode_flag(); } | 2055 StrictMode strict_mode() { return hydrogen()->strict_mode(); } |
2056 }; | 2056 }; |
2057 | 2057 |
2058 | 2058 |
2059 class LStoreKeyed V8_FINAL : public LTemplateInstruction<0, 3, 0> { | 2059 class LStoreKeyed V8_FINAL : public LTemplateInstruction<0, 3, 0> { |
2060 public: | 2060 public: |
2061 LStoreKeyed(LOperand* object, LOperand* key, LOperand* value) { | 2061 LStoreKeyed(LOperand* object, LOperand* key, LOperand* value) { |
2062 inputs_[0] = object; | 2062 inputs_[0] = object; |
2063 inputs_[1] = key; | 2063 inputs_[1] = key; |
2064 inputs_[2] = value; | 2064 inputs_[2] = value; |
2065 } | 2065 } |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2100 LOperand* context() { return inputs_[0]; } | 2100 LOperand* context() { return inputs_[0]; } |
2101 LOperand* object() { return inputs_[1]; } | 2101 LOperand* object() { return inputs_[1]; } |
2102 LOperand* key() { return inputs_[2]; } | 2102 LOperand* key() { return inputs_[2]; } |
2103 LOperand* value() { return inputs_[3]; } | 2103 LOperand* value() { return inputs_[3]; } |
2104 | 2104 |
2105 DECLARE_CONCRETE_INSTRUCTION(StoreKeyedGeneric, "store-keyed-generic") | 2105 DECLARE_CONCRETE_INSTRUCTION(StoreKeyedGeneric, "store-keyed-generic") |
2106 DECLARE_HYDROGEN_ACCESSOR(StoreKeyedGeneric) | 2106 DECLARE_HYDROGEN_ACCESSOR(StoreKeyedGeneric) |
2107 | 2107 |
2108 virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE; | 2108 virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE; |
2109 | 2109 |
2110 StrictModeFlag strict_mode_flag() { return hydrogen()->strict_mode_flag(); } | 2110 StrictMode strict_mode() { return hydrogen()->strict_mode(); } |
2111 }; | 2111 }; |
2112 | 2112 |
2113 | 2113 |
2114 class LTransitionElementsKind V8_FINAL : public LTemplateInstruction<0, 2, 2> { | 2114 class LTransitionElementsKind V8_FINAL : public LTemplateInstruction<0, 2, 2> { |
2115 public: | 2115 public: |
2116 LTransitionElementsKind(LOperand* object, | 2116 LTransitionElementsKind(LOperand* object, |
2117 LOperand* context, | 2117 LOperand* context, |
2118 LOperand* new_map_temp, | 2118 LOperand* new_map_temp, |
2119 LOperand* temp) { | 2119 LOperand* temp) { |
2120 inputs_[0] = object; | 2120 inputs_[0] = object; |
(...skipping 544 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2665 | 2665 |
2666 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2666 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2667 }; | 2667 }; |
2668 | 2668 |
2669 #undef DECLARE_HYDROGEN_ACCESSOR | 2669 #undef DECLARE_HYDROGEN_ACCESSOR |
2670 #undef DECLARE_CONCRETE_INSTRUCTION | 2670 #undef DECLARE_CONCRETE_INSTRUCTION |
2671 | 2671 |
2672 } } // namespace v8::int | 2672 } } // namespace v8::int |
2673 | 2673 |
2674 #endif // V8_X64_LITHIUM_X64_H_ | 2674 #endif // V8_X64_LITHIUM_X64_H_ |
OLD | NEW |