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

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

Issue 7043003: Version 3.3.8 (Closed) Base URL: https://v8.googlecode.com/svn/trunk
Patch Set: Created 9 years, 7 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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 V(CallNamed) \ 66 V(CallNamed) \
67 V(CallNew) \ 67 V(CallNew) \
68 V(CallRuntime) \ 68 V(CallRuntime) \
69 V(CallStub) \ 69 V(CallStub) \
70 V(CheckFunction) \ 70 V(CheckFunction) \
71 V(CheckInstanceType) \ 71 V(CheckInstanceType) \
72 V(CheckMap) \ 72 V(CheckMap) \
73 V(CheckNonSmi) \ 73 V(CheckNonSmi) \
74 V(CheckPrototypeMaps) \ 74 V(CheckPrototypeMaps) \
75 V(CheckSmi) \ 75 V(CheckSmi) \
76 V(ClampDToUint8) \
77 V(ClampIToUint8) \
78 V(ClampTToUint8) \
76 V(ClassOfTest) \ 79 V(ClassOfTest) \
77 V(ClassOfTestAndBranch) \ 80 V(ClassOfTestAndBranch) \
78 V(CmpID) \ 81 V(CmpID) \
79 V(CmpIDAndBranch) \ 82 V(CmpIDAndBranch) \
80 V(CmpJSObjectEq) \ 83 V(CmpJSObjectEq) \
81 V(CmpJSObjectEqAndBranch) \ 84 V(CmpJSObjectEqAndBranch) \
82 V(CmpMapAndBranch) \ 85 V(CmpMapAndBranch) \
83 V(CmpSymbolEq) \ 86 V(CmpSymbolEq) \
84 V(CmpSymbolEqAndBranch) \ 87 V(CmpSymbolEqAndBranch) \
85 V(CmpT) \ 88 V(CmpT) \
(...skipping 1814 matching lines...) Expand 10 before | Expand all | Expand 10 after
1900 class LCheckSmi: public LTemplateInstruction<0, 1, 0> { 1903 class LCheckSmi: public LTemplateInstruction<0, 1, 0> {
1901 public: 1904 public:
1902 explicit LCheckSmi(LOperand* value) { 1905 explicit LCheckSmi(LOperand* value) {
1903 inputs_[0] = value; 1906 inputs_[0] = value;
1904 } 1907 }
1905 1908
1906 DECLARE_CONCRETE_INSTRUCTION(CheckSmi, "check-smi") 1909 DECLARE_CONCRETE_INSTRUCTION(CheckSmi, "check-smi")
1907 }; 1910 };
1908 1911
1909 1912
1913 class LClampDToUint8: public LTemplateInstruction<1, 1, 1> {
1914 public:
1915 LClampDToUint8(LOperand* value, LOperand* temp) {
1916 inputs_[0] = value;
1917 temps_[0] = temp;
1918 }
1919
1920 LOperand* unclamped() { return inputs_[0]; }
1921
1922 DECLARE_CONCRETE_INSTRUCTION(ClampDToUint8, "clamp-d-to-uint8")
1923 };
1924
1925
1926 class LClampIToUint8: public LTemplateInstruction<1, 1, 0> {
1927 public:
1928 explicit LClampIToUint8(LOperand* value) {
1929 inputs_[0] = value;
1930 }
1931
1932 LOperand* unclamped() { return inputs_[0]; }
1933
1934 DECLARE_CONCRETE_INSTRUCTION(ClampIToUint8, "clamp-i-to-uint8")
1935 };
1936
1937
1938 class LClampTToUint8: public LTemplateInstruction<1, 1, 2> {
1939 public:
1940 LClampTToUint8(LOperand* value,
1941 LOperand* temp,
1942 LOperand* temp2) {
1943 inputs_[0] = value;
1944 temps_[0] = temp;
1945 temps_[1] = temp2;
1946 }
1947
1948 LOperand* unclamped() { return inputs_[0]; }
1949
1950 DECLARE_CONCRETE_INSTRUCTION(ClampTToUint8, "clamp-t-to-uint8")
1951 };
1952
1953
1910 class LCheckNonSmi: public LTemplateInstruction<0, 1, 0> { 1954 class LCheckNonSmi: public LTemplateInstruction<0, 1, 0> {
1911 public: 1955 public:
1912 explicit LCheckNonSmi(LOperand* value) { 1956 explicit LCheckNonSmi(LOperand* value) {
1913 inputs_[0] = value; 1957 inputs_[0] = value;
1914 } 1958 }
1915 1959
1916 DECLARE_CONCRETE_INSTRUCTION(CheckNonSmi, "check-non-smi") 1960 DECLARE_CONCRETE_INSTRUCTION(CheckNonSmi, "check-non-smi")
1917 }; 1961 };
1918 1962
1919 1963
(...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after
2280 2324
2281 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2325 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2282 }; 2326 };
2283 2327
2284 #undef DECLARE_HYDROGEN_ACCESSOR 2328 #undef DECLARE_HYDROGEN_ACCESSOR
2285 #undef DECLARE_CONCRETE_INSTRUCTION 2329 #undef DECLARE_CONCRETE_INSTRUCTION
2286 2330
2287 } } // namespace v8::int 2331 } } // namespace v8::int
2288 2332
2289 #endif // V8_X64_LITHIUM_X64_H_ 2333 #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