OLD | NEW |
1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 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 1635 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1646 public: | 1646 public: |
1647 explicit LCheckFunction(LOperand* use) : LUnaryOperation(use) { } | 1647 explicit LCheckFunction(LOperand* use) : LUnaryOperation(use) { } |
1648 | 1648 |
1649 DECLARE_CONCRETE_INSTRUCTION(CheckFunction, "check-function") | 1649 DECLARE_CONCRETE_INSTRUCTION(CheckFunction, "check-function") |
1650 DECLARE_HYDROGEN_ACCESSOR(CheckFunction) | 1650 DECLARE_HYDROGEN_ACCESSOR(CheckFunction) |
1651 }; | 1651 }; |
1652 | 1652 |
1653 | 1653 |
1654 class LCheckInstanceType: public LUnaryOperation { | 1654 class LCheckInstanceType: public LUnaryOperation { |
1655 public: | 1655 public: |
1656 LCheckInstanceType(LOperand* use, LOperand* temp) | 1656 LCheckInstanceType(LOperand* use) : LUnaryOperation(use) { } |
1657 : LUnaryOperation(use), temp_(temp) { } | |
1658 | 1657 |
1659 DECLARE_CONCRETE_INSTRUCTION(CheckInstanceType, "check-instance-type") | 1658 DECLARE_CONCRETE_INSTRUCTION(CheckInstanceType, "check-instance-type") |
1660 DECLARE_HYDROGEN_ACCESSOR(CheckInstanceType) | 1659 DECLARE_HYDROGEN_ACCESSOR(CheckInstanceType) |
1661 | 1660 |
1662 LOperand* temp() const { return temp_; } | 1661 LOperand* temp() const { return temp_; } |
1663 | 1662 |
1664 private: | 1663 private: |
1665 LOperand* temp_; | 1664 LOperand* temp_; |
1666 }; | 1665 }; |
1667 | 1666 |
(...skipping 463 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2131 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2130 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2132 }; | 2131 }; |
2133 | 2132 |
2134 #undef DECLARE_HYDROGEN_ACCESSOR | 2133 #undef DECLARE_HYDROGEN_ACCESSOR |
2135 #undef DECLARE_INSTRUCTION | 2134 #undef DECLARE_INSTRUCTION |
2136 #undef DECLARE_CONCRETE_INSTRUCTION | 2135 #undef DECLARE_CONCRETE_INSTRUCTION |
2137 | 2136 |
2138 } } // namespace v8::internal | 2137 } } // namespace v8::internal |
2139 | 2138 |
2140 #endif // V8_ARM_LITHIUM_ARM_H_ | 2139 #endif // V8_ARM_LITHIUM_ARM_H_ |
OLD | NEW |