| 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 1901 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1912     temps_[0] = temp; | 1912     temps_[0] = temp; | 
| 1913   } | 1913   } | 
| 1914 | 1914 | 
| 1915   LOperand* value() { return inputs_[0]; } | 1915   LOperand* value() { return inputs_[0]; } | 
| 1916   LOperand* temp() { return temps_[0]; } | 1916   LOperand* temp() { return temps_[0]; } | 
| 1917 | 1917 | 
| 1918   DECLARE_CONCRETE_INSTRUCTION(Uint32ToDouble, "uint32-to-double") | 1918   DECLARE_CONCRETE_INSTRUCTION(Uint32ToDouble, "uint32-to-double") | 
| 1919 }; | 1919 }; | 
| 1920 | 1920 | 
| 1921 | 1921 | 
| 1922 class LNumberTagI: public LTemplateInstruction<1, 1, 0> { | 1922 class LNumberTagI: public LTemplateInstruction<1, 1, 1> { | 
| 1923  public: | 1923  public: | 
| 1924   explicit LNumberTagI(LOperand* value) { | 1924   explicit LNumberTagI(LOperand* value, LOperand* temp) { | 
| 1925     inputs_[0] = value; | 1925     inputs_[0] = value; | 
|  | 1926     temps_[0] = temp; | 
| 1926   } | 1927   } | 
| 1927 | 1928 | 
| 1928   LOperand* value() { return inputs_[0]; } | 1929   LOperand* value() { return inputs_[0]; } | 
|  | 1930   LOperand* temp() { return temps_[0]; } | 
| 1929 | 1931 | 
| 1930   DECLARE_CONCRETE_INSTRUCTION(NumberTagI, "number-tag-i") | 1932   DECLARE_CONCRETE_INSTRUCTION(NumberTagI, "number-tag-i") | 
| 1931 }; | 1933 }; | 
| 1932 | 1934 | 
| 1933 | 1935 | 
| 1934 class LNumberTagU: public LTemplateInstruction<1, 1, 1> { | 1936 class LNumberTagU: public LTemplateInstruction<1, 1, 1> { | 
| 1935  public: | 1937  public: | 
| 1936   explicit LNumberTagU(LOperand* value, LOperand* temp) { | 1938   explicit LNumberTagU(LOperand* value, LOperand* temp) { | 
| 1937     inputs_[0] = value; | 1939     inputs_[0] = value; | 
| 1938     temps_[0] = temp; | 1940     temps_[0] = temp; | 
| (...skipping 747 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 2686 | 2688 | 
| 2687   DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2689   DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 
| 2688 }; | 2690 }; | 
| 2689 | 2691 | 
| 2690 #undef DECLARE_HYDROGEN_ACCESSOR | 2692 #undef DECLARE_HYDROGEN_ACCESSOR | 
| 2691 #undef DECLARE_CONCRETE_INSTRUCTION | 2693 #undef DECLARE_CONCRETE_INSTRUCTION | 
| 2692 | 2694 | 
| 2693 } }  // namespace v8::int | 2695 } }  // namespace v8::int | 
| 2694 | 2696 | 
| 2695 #endif  // V8_X64_LITHIUM_X64_H_ | 2697 #endif  // V8_X64_LITHIUM_X64_H_ | 
| OLD | NEW | 
|---|