Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(189)

Side by Side Diff: src/x64/lithium-x64.h

Issue 181053005: Push safepoint registers in deferred number-to-i/u only on-demand. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Indentation Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/x64/lithium-codegen-x64.cc ('k') | src/x64/lithium-x64.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 1874 matching lines...) Expand 10 before | Expand all | Expand 10 after
1885 explicit LNumberTagI(LOperand* value) { 1885 explicit LNumberTagI(LOperand* value) {
1886 inputs_[0] = value; 1886 inputs_[0] = value;
1887 } 1887 }
1888 1888
1889 LOperand* value() { return inputs_[0]; } 1889 LOperand* value() { return inputs_[0]; }
1890 1890
1891 DECLARE_CONCRETE_INSTRUCTION(NumberTagI, "number-tag-i") 1891 DECLARE_CONCRETE_INSTRUCTION(NumberTagI, "number-tag-i")
1892 }; 1892 };
1893 1893
1894 1894
1895 class LNumberTagU V8_FINAL : public LTemplateInstruction<1, 1, 1> { 1895 class LNumberTagU V8_FINAL : public LTemplateInstruction<1, 1, 2> {
1896 public: 1896 public:
1897 explicit LNumberTagU(LOperand* value, LOperand* temp) { 1897 LNumberTagU(LOperand* value, LOperand* temp1, LOperand* temp2) {
1898 inputs_[0] = value; 1898 inputs_[0] = value;
1899 temps_[0] = temp; 1899 temps_[0] = temp1;
1900 temps_[1] = temp2;
1900 } 1901 }
1901 1902
1902 LOperand* value() { return inputs_[0]; } 1903 LOperand* value() { return inputs_[0]; }
1903 LOperand* temp() { return temps_[0]; } 1904 LOperand* temp1() { return temps_[0]; }
1905 LOperand* temp2() { return temps_[1]; }
1904 1906
1905 DECLARE_CONCRETE_INSTRUCTION(NumberTagU, "number-tag-u") 1907 DECLARE_CONCRETE_INSTRUCTION(NumberTagU, "number-tag-u")
1906 }; 1908 };
1907 1909
1908 1910
1909 class LNumberTagD V8_FINAL : public LTemplateInstruction<1, 1, 1> { 1911 class LNumberTagD V8_FINAL : public LTemplateInstruction<1, 1, 1> {
1910 public: 1912 public:
1911 explicit LNumberTagD(LOperand* value, LOperand* temp) { 1913 explicit LNumberTagD(LOperand* value, LOperand* temp) {
1912 inputs_[0] = value; 1914 inputs_[0] = value;
1913 temps_[0] = temp; 1915 temps_[0] = temp;
(...skipping 751 matching lines...) Expand 10 before | Expand all | Expand 10 after
2665 2667
2666 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2668 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2667 }; 2669 };
2668 2670
2669 #undef DECLARE_HYDROGEN_ACCESSOR 2671 #undef DECLARE_HYDROGEN_ACCESSOR
2670 #undef DECLARE_CONCRETE_INSTRUCTION 2672 #undef DECLARE_CONCRETE_INSTRUCTION
2671 2673
2672 } } // namespace v8::int 2674 } } // namespace v8::int
2673 2675
2674 #endif // V8_X64_LITHIUM_X64_H_ 2676 #endif // V8_X64_LITHIUM_X64_H_
OLDNEW
« no previous file with comments | « src/x64/lithium-codegen-x64.cc ('k') | src/x64/lithium-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698