| OLD | NEW | 
|---|
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 1242 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1253     inputs_[1] = value; | 1253     inputs_[1] = value; | 
| 1254     temps_[0] = temp; | 1254     temps_[0] = temp; | 
| 1255   } | 1255   } | 
| 1256 | 1256 | 
| 1257   DECLARE_CONCRETE_INSTRUCTION(StoreContextSlot, "store-context-slot") | 1257   DECLARE_CONCRETE_INSTRUCTION(StoreContextSlot, "store-context-slot") | 
| 1258   DECLARE_HYDROGEN_ACCESSOR(StoreContextSlot) | 1258   DECLARE_HYDROGEN_ACCESSOR(StoreContextSlot) | 
| 1259 | 1259 | 
| 1260   LOperand* context() { return InputAt(0); } | 1260   LOperand* context() { return InputAt(0); } | 
| 1261   LOperand* value() { return InputAt(1); } | 1261   LOperand* value() { return InputAt(1); } | 
| 1262   int slot_index() { return hydrogen()->slot_index(); } | 1262   int slot_index() { return hydrogen()->slot_index(); } | 
| 1263   int needs_write_barrier() { return hydrogen()->NeedsWriteBarrier(); } |  | 
| 1264 | 1263 | 
| 1265   virtual void PrintDataTo(StringStream* stream); | 1264   virtual void PrintDataTo(StringStream* stream); | 
| 1266 }; | 1265 }; | 
| 1267 | 1266 | 
| 1268 | 1267 | 
| 1269 class LPushArgument: public LTemplateInstruction<0, 1, 0> { | 1268 class LPushArgument: public LTemplateInstruction<0, 1, 0> { | 
| 1270  public: | 1269  public: | 
| 1271   explicit LPushArgument(LOperand* value) { | 1270   explicit LPushArgument(LOperand* value) { | 
| 1272     inputs_[0] = value; | 1271     inputs_[0] = value; | 
| 1273   } | 1272   } | 
| (...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1544   DECLARE_HYDROGEN_ACCESSOR(StoreNamedField) | 1543   DECLARE_HYDROGEN_ACCESSOR(StoreNamedField) | 
| 1545 | 1544 | 
| 1546   virtual void PrintDataTo(StringStream* stream); | 1545   virtual void PrintDataTo(StringStream* stream); | 
| 1547 | 1546 | 
| 1548   LOperand* object() { return inputs_[0]; } | 1547   LOperand* object() { return inputs_[0]; } | 
| 1549   LOperand* value() { return inputs_[1]; } | 1548   LOperand* value() { return inputs_[1]; } | 
| 1550 | 1549 | 
| 1551   Handle<Object> name() const { return hydrogen()->name(); } | 1550   Handle<Object> name() const { return hydrogen()->name(); } | 
| 1552   bool is_in_object() { return hydrogen()->is_in_object(); } | 1551   bool is_in_object() { return hydrogen()->is_in_object(); } | 
| 1553   int offset() { return hydrogen()->offset(); } | 1552   int offset() { return hydrogen()->offset(); } | 
| 1554   bool needs_write_barrier() { return hydrogen()->NeedsWriteBarrier(); } |  | 
| 1555   Handle<Map> transition() const { return hydrogen()->transition(); } | 1553   Handle<Map> transition() const { return hydrogen()->transition(); } | 
| 1556 }; | 1554 }; | 
| 1557 | 1555 | 
| 1558 | 1556 | 
| 1559 class LStoreNamedGeneric: public LTemplateInstruction<0, 2, 0> { | 1557 class LStoreNamedGeneric: public LTemplateInstruction<0, 2, 0> { | 
| 1560  public: | 1558  public: | 
| 1561   LStoreNamedGeneric(LOperand* object, LOperand* value) { | 1559   LStoreNamedGeneric(LOperand* object, LOperand* value) { | 
| 1562     inputs_[0] = object; | 1560     inputs_[0] = object; | 
| 1563     inputs_[1] = value; | 1561     inputs_[1] = value; | 
| 1564   } | 1562   } | 
| (...skipping 612 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 2177 | 2175 | 
| 2178   DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2176   DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 
| 2179 }; | 2177 }; | 
| 2180 | 2178 | 
| 2181 #undef DECLARE_HYDROGEN_ACCESSOR | 2179 #undef DECLARE_HYDROGEN_ACCESSOR | 
| 2182 #undef DECLARE_CONCRETE_INSTRUCTION | 2180 #undef DECLARE_CONCRETE_INSTRUCTION | 
| 2183 | 2181 | 
| 2184 } }  // namespace v8::int | 2182 } }  // namespace v8::int | 
| 2185 | 2183 | 
| 2186 #endif  // V8_X64_LITHIUM_X64_H_ | 2184 #endif  // V8_X64_LITHIUM_X64_H_ | 
| OLD | NEW | 
|---|