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 1714 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1725 LOperand* string() { return inputs_[0]; } | 1725 LOperand* string() { return inputs_[0]; } |
1726 }; | 1726 }; |
1727 | 1727 |
1728 | 1728 |
1729 class LCheckFunction: public LTemplateInstruction<0, 1, 0> { | 1729 class LCheckFunction: public LTemplateInstruction<0, 1, 0> { |
1730 public: | 1730 public: |
1731 explicit LCheckFunction(LOperand* value) { | 1731 explicit LCheckFunction(LOperand* value) { |
1732 inputs_[0] = value; | 1732 inputs_[0] = value; |
1733 } | 1733 } |
1734 | 1734 |
| 1735 LOperand* value() { return InputAt(0); } |
| 1736 |
1735 DECLARE_CONCRETE_INSTRUCTION(CheckFunction, "check-function") | 1737 DECLARE_CONCRETE_INSTRUCTION(CheckFunction, "check-function") |
1736 DECLARE_HYDROGEN_ACCESSOR(CheckFunction) | 1738 DECLARE_HYDROGEN_ACCESSOR(CheckFunction) |
1737 }; | 1739 }; |
1738 | 1740 |
1739 | 1741 |
1740 class LCheckInstanceType: public LTemplateInstruction<0, 1, 0> { | 1742 class LCheckInstanceType: public LTemplateInstruction<0, 1, 0> { |
1741 public: | 1743 public: |
1742 explicit LCheckInstanceType(LOperand* value) { | 1744 explicit LCheckInstanceType(LOperand* value) { |
1743 inputs_[0] = value; | 1745 inputs_[0] = value; |
1744 } | 1746 } |
(...skipping 443 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2188 | 2190 |
2189 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2191 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2190 }; | 2192 }; |
2191 | 2193 |
2192 #undef DECLARE_HYDROGEN_ACCESSOR | 2194 #undef DECLARE_HYDROGEN_ACCESSOR |
2193 #undef DECLARE_CONCRETE_INSTRUCTION | 2195 #undef DECLARE_CONCRETE_INSTRUCTION |
2194 | 2196 |
2195 } } // namespace v8::internal | 2197 } } // namespace v8::internal |
2196 | 2198 |
2197 #endif // V8_ARM_LITHIUM_ARM_H_ | 2199 #endif // V8_ARM_LITHIUM_ARM_H_ |
OLD | NEW |