| 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 1584 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1595 public: | 1595 public: |
| 1596 explicit LCheckMap(LOperand* use) : LUnaryOperation(use) { } | 1596 explicit LCheckMap(LOperand* use) : LUnaryOperation(use) { } |
| 1597 | 1597 |
| 1598 DECLARE_CONCRETE_INSTRUCTION(CheckMap, "check-map") | 1598 DECLARE_CONCRETE_INSTRUCTION(CheckMap, "check-map") |
| 1599 DECLARE_HYDROGEN_ACCESSOR(CheckMap) | 1599 DECLARE_HYDROGEN_ACCESSOR(CheckMap) |
| 1600 }; | 1600 }; |
| 1601 | 1601 |
| 1602 | 1602 |
| 1603 class LCheckPrototypeMaps: public LInstruction { | 1603 class LCheckPrototypeMaps: public LInstruction { |
| 1604 public: | 1604 public: |
| 1605 LCheckPrototypeMaps(LOperand* temp1, | 1605 LCheckPrototypeMaps(LOperand* temp1, LOperand* temp2) |
| 1606 LOperand* temp2, | 1606 : temp1_(temp1), temp2_(temp2) { } |
| 1607 Handle<JSObject> holder, | |
| 1608 Handle<Map> receiver_map) | |
| 1609 : temp1_(temp1), | |
| 1610 temp2_(temp2), | |
| 1611 holder_(holder), | |
| 1612 receiver_map_(receiver_map) { } | |
| 1613 | 1607 |
| 1614 DECLARE_CONCRETE_INSTRUCTION(CheckPrototypeMaps, "check-prototype-maps") | 1608 DECLARE_CONCRETE_INSTRUCTION(CheckPrototypeMaps, "check-prototype-maps") |
| 1609 DECLARE_HYDROGEN_ACCESSOR(CheckPrototypeMaps) |
| 1615 | 1610 |
| 1611 Handle<JSObject> holder() const { return hydrogen()->holder(); } |
| 1612 Handle<Map> receiver_map() const { return hydrogen()->receiver_map(); } |
| 1616 LOperand* temp1() const { return temp1_; } | 1613 LOperand* temp1() const { return temp1_; } |
| 1617 LOperand* temp2() const { return temp2_; } | 1614 LOperand* temp2() const { return temp2_; } |
| 1618 Handle<JSObject> holder() const { return holder_; } | |
| 1619 Handle<Map> receiver_map() const { return receiver_map_; } | |
| 1620 | 1615 |
| 1621 private: | 1616 private: |
| 1622 LOperand* temp1_; | 1617 LOperand* temp1_; |
| 1623 LOperand* temp2_; | 1618 LOperand* temp2_; |
| 1624 Handle<JSObject> holder_; | |
| 1625 Handle<Map> receiver_map_; | |
| 1626 }; | 1619 }; |
| 1627 | 1620 |
| 1628 | 1621 |
| 1629 class LCheckSmi: public LUnaryOperation { | 1622 class LCheckSmi: public LUnaryOperation { |
| 1630 public: | 1623 public: |
| 1631 LCheckSmi(LOperand* use, Condition condition) | 1624 LCheckSmi(LOperand* use, Condition condition) |
| 1632 : LUnaryOperation(use), condition_(condition) { } | 1625 : LUnaryOperation(use), condition_(condition) { } |
| 1633 | 1626 |
| 1634 Condition condition() const { return condition_; } | 1627 Condition condition() const { return condition_; } |
| 1635 | 1628 |
| (...skipping 420 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2056 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2049 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2057 }; | 2050 }; |
| 2058 | 2051 |
| 2059 #undef DECLARE_HYDROGEN_ACCESSOR | 2052 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2060 #undef DECLARE_INSTRUCTION | 2053 #undef DECLARE_INSTRUCTION |
| 2061 #undef DECLARE_CONCRETE_INSTRUCTION | 2054 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2062 | 2055 |
| 2063 } } // namespace v8::internal | 2056 } } // namespace v8::internal |
| 2064 | 2057 |
| 2065 #endif // V8_ARM_LITHIUM_ARM_H_ | 2058 #endif // V8_ARM_LITHIUM_ARM_H_ |
| OLD | NEW |