OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 1865 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1876 explicit LNumberTagI(LOperand* value) { | 1876 explicit LNumberTagI(LOperand* value) { |
1877 inputs_[0] = value; | 1877 inputs_[0] = value; |
1878 } | 1878 } |
1879 | 1879 |
1880 LOperand* value() { return inputs_[0]; } | 1880 LOperand* value() { return inputs_[0]; } |
1881 | 1881 |
1882 DECLARE_CONCRETE_INSTRUCTION(NumberTagI, "number-tag-i") | 1882 DECLARE_CONCRETE_INSTRUCTION(NumberTagI, "number-tag-i") |
1883 }; | 1883 }; |
1884 | 1884 |
1885 | 1885 |
1886 class LNumberTagU: public LTemplateInstruction<1, 1, 1> { | 1886 class LNumberTagU: public LTemplateInstruction<1, 1, 0> { |
1887 public: | 1887 public: |
1888 explicit LNumberTagU(LOperand* value, LOperand* temp) { | 1888 explicit LNumberTagU(LOperand* value) { |
1889 inputs_[0] = value; | 1889 inputs_[0] = value; |
1890 temps_[0] = temp; | |
1891 } | 1890 } |
1892 | 1891 |
1893 LOperand* value() { return inputs_[0]; } | 1892 LOperand* value() { return inputs_[0]; } |
1894 | 1893 |
1895 DECLARE_CONCRETE_INSTRUCTION(NumberTagU, "number-tag-u") | 1894 DECLARE_CONCRETE_INSTRUCTION(NumberTagU, "number-tag-u") |
1896 }; | 1895 }; |
1897 | 1896 |
1898 | 1897 |
1899 class LNumberTagD: public LTemplateInstruction<1, 1, 1> { | 1898 class LNumberTagD: public LTemplateInstruction<1, 1, 1> { |
1900 public: | 1899 public: |
(...skipping 834 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2735 | 2734 |
2736 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2735 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2737 }; | 2736 }; |
2738 | 2737 |
2739 #undef DECLARE_HYDROGEN_ACCESSOR | 2738 #undef DECLARE_HYDROGEN_ACCESSOR |
2740 #undef DECLARE_CONCRETE_INSTRUCTION | 2739 #undef DECLARE_CONCRETE_INSTRUCTION |
2741 | 2740 |
2742 } } // namespace v8::internal | 2741 } } // namespace v8::internal |
2743 | 2742 |
2744 #endif // V8_IA32_LITHIUM_IA32_H_ | 2743 #endif // V8_IA32_LITHIUM_IA32_H_ |
OLD | NEW |