| 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 2030 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2041 explicit LNumberTagI(LOperand* value) { | 2041 explicit LNumberTagI(LOperand* value) { |
| 2042 inputs_[0] = value; | 2042 inputs_[0] = value; |
| 2043 } | 2043 } |
| 2044 | 2044 |
| 2045 LOperand* value() { return inputs_[0]; } | 2045 LOperand* value() { return inputs_[0]; } |
| 2046 | 2046 |
| 2047 DECLARE_CONCRETE_INSTRUCTION(NumberTagI, "number-tag-i") | 2047 DECLARE_CONCRETE_INSTRUCTION(NumberTagI, "number-tag-i") |
| 2048 }; | 2048 }; |
| 2049 | 2049 |
| 2050 | 2050 |
| 2051 class LNumberTagU: public LTemplateInstruction<1, 1, 0> { | 2051 class LNumberTagU: public LTemplateInstruction<1, 1, 1> { |
| 2052 public: | 2052 public: |
| 2053 explicit LNumberTagU(LOperand* value) { | 2053 LNumberTagU(LOperand* value, LOperand* temp) { |
| 2054 inputs_[0] = value; | 2054 inputs_[0] = value; |
| 2055 temps_[0] = temp; |
| 2055 } | 2056 } |
| 2056 | 2057 |
| 2057 LOperand* value() { return inputs_[0]; } | 2058 LOperand* value() { return inputs_[0]; } |
| 2059 LOperand* temp() { return temps_[0]; } |
| 2058 | 2060 |
| 2059 DECLARE_CONCRETE_INSTRUCTION(NumberTagU, "number-tag-u") | 2061 DECLARE_CONCRETE_INSTRUCTION(NumberTagU, "number-tag-u") |
| 2060 }; | 2062 }; |
| 2061 | 2063 |
| 2062 | 2064 |
| 2063 class LNumberTagD: public LTemplateInstruction<1, 1, 1> { | 2065 class LNumberTagD: public LTemplateInstruction<1, 1, 1> { |
| 2064 public: | 2066 public: |
| 2065 LNumberTagD(LOperand* value, LOperand* temp) { | 2067 LNumberTagD(LOperand* value, LOperand* temp) { |
| 2066 inputs_[0] = value; | 2068 inputs_[0] = value; |
| 2067 temps_[0] = temp; | 2069 temps_[0] = temp; |
| (...skipping 895 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2963 | 2965 |
| 2964 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2966 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2965 }; | 2967 }; |
| 2966 | 2968 |
| 2967 #undef DECLARE_HYDROGEN_ACCESSOR | 2969 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2968 #undef DECLARE_CONCRETE_INSTRUCTION | 2970 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2969 | 2971 |
| 2970 } } // namespace v8::internal | 2972 } } // namespace v8::internal |
| 2971 | 2973 |
| 2972 #endif // V8_IA32_LITHIUM_IA32_H_ | 2974 #endif // V8_IA32_LITHIUM_IA32_H_ |
| OLD | NEW |