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

Side by Side Diff: src/hydrogen-instructions.h

Issue 9580007: Revert r10908 due to flakiness and crashes. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 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/hydrogen.cc ('k') | src/ia32/code-stubs-ia32.h » ('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 1868 matching lines...) Expand 10 before | Expand all | Expand 10 after
1879 break; 1879 break;
1880 case kMathAbs: 1880 case kMathAbs:
1881 set_representation(Representation::Tagged()); 1881 set_representation(Representation::Tagged());
1882 SetFlag(kFlexibleRepresentation); 1882 SetFlag(kFlexibleRepresentation);
1883 break; 1883 break;
1884 case kMathSqrt: 1884 case kMathSqrt:
1885 case kMathPowHalf: 1885 case kMathPowHalf:
1886 case kMathLog: 1886 case kMathLog:
1887 case kMathSin: 1887 case kMathSin:
1888 case kMathCos: 1888 case kMathCos:
1889 case kMathTan:
1890 set_representation(Representation::Double()); 1889 set_representation(Representation::Double());
1891 break; 1890 break;
1892 default: 1891 default:
1893 UNREACHABLE(); 1892 UNREACHABLE();
1894 } 1893 }
1895 SetFlag(kUseGVN); 1894 SetFlag(kUseGVN);
1896 } 1895 }
1897 1896
1898 HValue* context() { return OperandAt(0); } 1897 HValue* context() { return OperandAt(0); }
1899 HValue* value() { return OperandAt(1); } 1898 HValue* value() { return OperandAt(1); }
(...skipping 10 matching lines...) Expand all
1910 } else { 1909 } else {
1911 switch (op_) { 1910 switch (op_) {
1912 case kMathFloor: 1911 case kMathFloor:
1913 case kMathRound: 1912 case kMathRound:
1914 case kMathCeil: 1913 case kMathCeil:
1915 case kMathSqrt: 1914 case kMathSqrt:
1916 case kMathPowHalf: 1915 case kMathPowHalf:
1917 case kMathLog: 1916 case kMathLog:
1918 case kMathSin: 1917 case kMathSin:
1919 case kMathCos: 1918 case kMathCos:
1920 case kMathTan:
1921 return Representation::Double(); 1919 return Representation::Double();
1922 case kMathAbs: 1920 case kMathAbs:
1923 return representation(); 1921 return representation();
1924 default: 1922 default:
1925 UNREACHABLE(); 1923 UNREACHABLE();
1926 return Representation::None(); 1924 return Representation::None();
1927 } 1925 }
1928 } 1926 }
1929 } 1927 }
1930 1928
(...skipping 2846 matching lines...) Expand 10 before | Expand all | Expand 10 after
4777 DECLARE_CONCRETE_INSTRUCTION(LoadFieldByIndex); 4775 DECLARE_CONCRETE_INSTRUCTION(LoadFieldByIndex);
4778 }; 4776 };
4779 4777
4780 4778
4781 #undef DECLARE_INSTRUCTION 4779 #undef DECLARE_INSTRUCTION
4782 #undef DECLARE_CONCRETE_INSTRUCTION 4780 #undef DECLARE_CONCRETE_INSTRUCTION
4783 4781
4784 } } // namespace v8::internal 4782 } } // namespace v8::internal
4785 4783
4786 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ 4784 #endif // V8_HYDROGEN_INSTRUCTIONS_H_
OLDNEW
« no previous file with comments | « src/hydrogen.cc ('k') | src/ia32/code-stubs-ia32.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698