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 1783 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1794 LOperand* string() { return inputs_[0]; } | 1794 LOperand* string() { return inputs_[0]; } |
1795 }; | 1795 }; |
1796 | 1796 |
1797 | 1797 |
1798 class LCheckFunction: public LTemplateInstruction<0, 1, 0> { | 1798 class LCheckFunction: public LTemplateInstruction<0, 1, 0> { |
1799 public: | 1799 public: |
1800 explicit LCheckFunction(LOperand* value) { | 1800 explicit LCheckFunction(LOperand* value) { |
1801 inputs_[0] = value; | 1801 inputs_[0] = value; |
1802 } | 1802 } |
1803 | 1803 |
| 1804 LOperand* value() { return inputs_[0]; } |
| 1805 |
1804 DECLARE_CONCRETE_INSTRUCTION(CheckFunction, "check-function") | 1806 DECLARE_CONCRETE_INSTRUCTION(CheckFunction, "check-function") |
1805 DECLARE_HYDROGEN_ACCESSOR(CheckFunction) | 1807 DECLARE_HYDROGEN_ACCESSOR(CheckFunction) |
1806 }; | 1808 }; |
1807 | 1809 |
1808 | 1810 |
1809 class LCheckInstanceType: public LTemplateInstruction<0, 1, 1> { | 1811 class LCheckInstanceType: public LTemplateInstruction<0, 1, 1> { |
1810 public: | 1812 public: |
1811 LCheckInstanceType(LOperand* value, LOperand* temp) { | 1813 LCheckInstanceType(LOperand* value, LOperand* temp) { |
1812 inputs_[0] = value; | 1814 inputs_[0] = value; |
1813 temps_[0] = temp; | 1815 temps_[0] = temp; |
(...skipping 476 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2290 | 2292 |
2291 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2293 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2292 }; | 2294 }; |
2293 | 2295 |
2294 #undef DECLARE_HYDROGEN_ACCESSOR | 2296 #undef DECLARE_HYDROGEN_ACCESSOR |
2295 #undef DECLARE_CONCRETE_INSTRUCTION | 2297 #undef DECLARE_CONCRETE_INSTRUCTION |
2296 | 2298 |
2297 } } // namespace v8::internal | 2299 } } // namespace v8::internal |
2298 | 2300 |
2299 #endif // V8_IA32_LITHIUM_IA32_H_ | 2301 #endif // V8_IA32_LITHIUM_IA32_H_ |
OLD | NEW |