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 1775 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1786 LOperand* string() { return inputs_[0]; } | 1786 LOperand* string() { return inputs_[0]; } |
1787 }; | 1787 }; |
1788 | 1788 |
1789 | 1789 |
1790 class LCheckFunction: public LTemplateInstruction<0, 1, 0> { | 1790 class LCheckFunction: public LTemplateInstruction<0, 1, 0> { |
1791 public: | 1791 public: |
1792 explicit LCheckFunction(LOperand* value) { | 1792 explicit LCheckFunction(LOperand* value) { |
1793 inputs_[0] = value; | 1793 inputs_[0] = value; |
1794 } | 1794 } |
1795 | 1795 |
| 1796 LOperand* value() { return InputAt(0); } |
| 1797 |
1796 DECLARE_CONCRETE_INSTRUCTION(CheckFunction, "check-function") | 1798 DECLARE_CONCRETE_INSTRUCTION(CheckFunction, "check-function") |
1797 DECLARE_HYDROGEN_ACCESSOR(CheckFunction) | 1799 DECLARE_HYDROGEN_ACCESSOR(CheckFunction) |
1798 }; | 1800 }; |
1799 | 1801 |
1800 | 1802 |
1801 class LCheckInstanceType: public LTemplateInstruction<0, 1, 0> { | 1803 class LCheckInstanceType: public LTemplateInstruction<0, 1, 0> { |
1802 public: | 1804 public: |
1803 explicit LCheckInstanceType(LOperand* value) { | 1805 explicit LCheckInstanceType(LOperand* value) { |
1804 inputs_[0] = value; | 1806 inputs_[0] = value; |
1805 } | 1807 } |
(...skipping 449 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2255 | 2257 |
2256 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2258 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2257 }; | 2259 }; |
2258 | 2260 |
2259 #undef DECLARE_HYDROGEN_ACCESSOR | 2261 #undef DECLARE_HYDROGEN_ACCESSOR |
2260 #undef DECLARE_CONCRETE_INSTRUCTION | 2262 #undef DECLARE_CONCRETE_INSTRUCTION |
2261 | 2263 |
2262 } } // namespace v8::internal | 2264 } } // namespace v8::internal |
2263 | 2265 |
2264 #endif // V8_ARM_LITHIUM_ARM_H_ | 2266 #endif // V8_ARM_LITHIUM_ARM_H_ |
OLD | NEW |