| 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 1564 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1575 } | 1575 } |
| 1576 | 1576 |
| 1577 DECLARE_CONCRETE_INSTRUCTION(StoreNamedGeneric, "store-named-generic") | 1577 DECLARE_CONCRETE_INSTRUCTION(StoreNamedGeneric, "store-named-generic") |
| 1578 DECLARE_HYDROGEN_ACCESSOR(StoreNamedGeneric) | 1578 DECLARE_HYDROGEN_ACCESSOR(StoreNamedGeneric) |
| 1579 | 1579 |
| 1580 virtual void PrintDataTo(StringStream* stream); | 1580 virtual void PrintDataTo(StringStream* stream); |
| 1581 | 1581 |
| 1582 LOperand* object() { return inputs_[0]; } | 1582 LOperand* object() { return inputs_[0]; } |
| 1583 LOperand* value() { return inputs_[1]; } | 1583 LOperand* value() { return inputs_[1]; } |
| 1584 Handle<Object> name() const { return hydrogen()->name(); } | 1584 Handle<Object> name() const { return hydrogen()->name(); } |
| 1585 bool strict_mode() { return hydrogen()->strict_mode(); } | 1585 StrictModeFlag strict_mode_flag() { return hydrogen()->strict_mode_flag(); } |
| 1586 bool strict_mode() { return strict_mode_flag() == kStrictMode; } |
| 1586 }; | 1587 }; |
| 1587 | 1588 |
| 1588 | 1589 |
| 1589 class LStoreKeyedFastElement: public LTemplateInstruction<0, 3, 0> { | 1590 class LStoreKeyedFastElement: public LTemplateInstruction<0, 3, 0> { |
| 1590 public: | 1591 public: |
| 1591 LStoreKeyedFastElement(LOperand* obj, LOperand* key, LOperand* val) { | 1592 LStoreKeyedFastElement(LOperand* obj, LOperand* key, LOperand* val) { |
| 1592 inputs_[0] = obj; | 1593 inputs_[0] = obj; |
| 1593 inputs_[1] = key; | 1594 inputs_[1] = key; |
| 1594 inputs_[2] = val; | 1595 inputs_[2] = val; |
| 1595 } | 1596 } |
| (...skipping 617 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2213 | 2214 |
| 2214 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2215 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2215 }; | 2216 }; |
| 2216 | 2217 |
| 2217 #undef DECLARE_HYDROGEN_ACCESSOR | 2218 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2218 #undef DECLARE_CONCRETE_INSTRUCTION | 2219 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2219 | 2220 |
| 2220 } } // namespace v8::internal | 2221 } } // namespace v8::internal |
| 2221 | 2222 |
| 2222 #endif // V8_ARM_LITHIUM_ARM_H_ | 2223 #endif // V8_ARM_LITHIUM_ARM_H_ |
| OLD | NEW |