| 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 1704 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1715 LOperand* string() { return inputs_[0]; } | 1715 LOperand* string() { return inputs_[0]; } |
| 1716 }; | 1716 }; |
| 1717 | 1717 |
| 1718 | 1718 |
| 1719 class LCheckFunction: public LTemplateInstruction<0, 1, 0> { | 1719 class LCheckFunction: public LTemplateInstruction<0, 1, 0> { |
| 1720 public: | 1720 public: |
| 1721 explicit LCheckFunction(LOperand* value) { | 1721 explicit LCheckFunction(LOperand* value) { |
| 1722 inputs_[0] = value; | 1722 inputs_[0] = value; |
| 1723 } | 1723 } |
| 1724 | 1724 |
| 1725 LOperand* value() { return InputAt(0); } |
| 1726 |
| 1725 DECLARE_CONCRETE_INSTRUCTION(CheckFunction, "check-function") | 1727 DECLARE_CONCRETE_INSTRUCTION(CheckFunction, "check-function") |
| 1726 DECLARE_HYDROGEN_ACCESSOR(CheckFunction) | 1728 DECLARE_HYDROGEN_ACCESSOR(CheckFunction) |
| 1727 }; | 1729 }; |
| 1728 | 1730 |
| 1729 | 1731 |
| 1730 class LCheckInstanceType: public LTemplateInstruction<0, 1, 0> { | 1732 class LCheckInstanceType: public LTemplateInstruction<0, 1, 0> { |
| 1731 public: | 1733 public: |
| 1732 explicit LCheckInstanceType(LOperand* value) { | 1734 explicit LCheckInstanceType(LOperand* value) { |
| 1733 inputs_[0] = value; | 1735 inputs_[0] = value; |
| 1734 } | 1736 } |
| (...skipping 442 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2177 | 2179 |
| 2178 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2180 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2179 }; | 2181 }; |
| 2180 | 2182 |
| 2181 #undef DECLARE_HYDROGEN_ACCESSOR | 2183 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2182 #undef DECLARE_CONCRETE_INSTRUCTION | 2184 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2183 | 2185 |
| 2184 } } // namespace v8::int | 2186 } } // namespace v8::int |
| 2185 | 2187 |
| 2186 #endif // V8_X64_LITHIUM_X64_H_ | 2188 #endif // V8_X64_LITHIUM_X64_H_ |
| OLD | NEW |