| 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 687 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 698 } | 698 } |
| 699 | 699 |
| 700 DECLARE_CONCRETE_INSTRUCTION(HasCachedArrayIndexAndBranch, | 700 DECLARE_CONCRETE_INSTRUCTION(HasCachedArrayIndexAndBranch, |
| 701 "has-cached-array-index-and-branch") | 701 "has-cached-array-index-and-branch") |
| 702 DECLARE_HYDROGEN_ACCESSOR(HasCachedArrayIndexAndBranch) | 702 DECLARE_HYDROGEN_ACCESSOR(HasCachedArrayIndexAndBranch) |
| 703 | 703 |
| 704 virtual void PrintDataTo(StringStream* stream); | 704 virtual void PrintDataTo(StringStream* stream); |
| 705 }; | 705 }; |
| 706 | 706 |
| 707 | 707 |
| 708 class LClassOfTestAndBranch: public LControlInstruction<1, 1> { | 708 class LClassOfTestAndBranch: public LControlInstruction<1, 2> { |
| 709 public: | 709 public: |
| 710 LClassOfTestAndBranch(LOperand* value, LOperand* temp) { | 710 LClassOfTestAndBranch(LOperand* value, LOperand* temp, LOperand* temp2) { |
| 711 inputs_[0] = value; | 711 inputs_[0] = value; |
| 712 temps_[0] = temp; | 712 temps_[0] = temp; |
| 713 temps_[1] = temp2; |
| 713 } | 714 } |
| 714 | 715 |
| 715 DECLARE_CONCRETE_INSTRUCTION(ClassOfTestAndBranch, | 716 DECLARE_CONCRETE_INSTRUCTION(ClassOfTestAndBranch, |
| 716 "class-of-test-and-branch") | 717 "class-of-test-and-branch") |
| 717 DECLARE_HYDROGEN_ACCESSOR(ClassOfTestAndBranch) | 718 DECLARE_HYDROGEN_ACCESSOR(ClassOfTestAndBranch) |
| 718 | 719 |
| 719 virtual void PrintDataTo(StringStream* stream); | 720 virtual void PrintDataTo(StringStream* stream); |
| 720 }; | 721 }; |
| 721 | 722 |
| 722 | 723 |
| (...skipping 1450 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2173 | 2174 |
| 2174 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2175 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2175 }; | 2176 }; |
| 2176 | 2177 |
| 2177 #undef DECLARE_HYDROGEN_ACCESSOR | 2178 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2178 #undef DECLARE_CONCRETE_INSTRUCTION | 2179 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2179 | 2180 |
| 2180 } } // namespace v8::int | 2181 } } // namespace v8::int |
| 2181 | 2182 |
| 2182 #endif // V8_X64_LITHIUM_X64_H_ | 2183 #endif // V8_X64_LITHIUM_X64_H_ |
| OLD | NEW |