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

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

Issue 7019008: Remaining (forgotten) feedback for pixel array deopt fix (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
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/ia32/lithium-codegen-ia32.cc ('k') | src/ia32/lithium-ia32.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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 V(CallNamed) \ 60 V(CallNamed) \
61 V(CallNew) \ 61 V(CallNew) \
62 V(CallRuntime) \ 62 V(CallRuntime) \
63 V(CallStub) \ 63 V(CallStub) \
64 V(CheckFunction) \ 64 V(CheckFunction) \
65 V(CheckInstanceType) \ 65 V(CheckInstanceType) \
66 V(CheckMap) \ 66 V(CheckMap) \
67 V(CheckNonSmi) \ 67 V(CheckNonSmi) \
68 V(CheckPrototypeMaps) \ 68 V(CheckPrototypeMaps) \
69 V(CheckSmi) \ 69 V(CheckSmi) \
70 V(ClampDoubleToUint8) \ 70 V(ClampDToUint8) \
71 V(ClampIToUint8) \ 71 V(ClampIToUint8) \
72 V(ClampTaggedToUint8) \ 72 V(ClampTToUint8) \
73 V(ClassOfTest) \ 73 V(ClassOfTest) \
74 V(ClassOfTestAndBranch) \ 74 V(ClassOfTestAndBranch) \
75 V(CmpID) \ 75 V(CmpID) \
76 V(CmpIDAndBranch) \ 76 V(CmpIDAndBranch) \
77 V(CmpJSObjectEq) \ 77 V(CmpJSObjectEq) \
78 V(CmpJSObjectEqAndBranch) \ 78 V(CmpJSObjectEqAndBranch) \
79 V(CmpSymbolEq) \ 79 V(CmpSymbolEq) \
80 V(CmpSymbolEqAndBranch) \ 80 V(CmpSymbolEqAndBranch) \
81 V(CmpMapAndBranch) \ 81 V(CmpMapAndBranch) \
82 V(CmpT) \ 82 V(CmpT) \
(...skipping 1887 matching lines...) Expand 10 before | Expand all | Expand 10 after
1970 class LCheckSmi: public LTemplateInstruction<0, 1, 0> { 1970 class LCheckSmi: public LTemplateInstruction<0, 1, 0> {
1971 public: 1971 public:
1972 explicit LCheckSmi(LOperand* value) { 1972 explicit LCheckSmi(LOperand* value) {
1973 inputs_[0] = value; 1973 inputs_[0] = value;
1974 } 1974 }
1975 1975
1976 DECLARE_CONCRETE_INSTRUCTION(CheckSmi, "check-smi") 1976 DECLARE_CONCRETE_INSTRUCTION(CheckSmi, "check-smi")
1977 }; 1977 };
1978 1978
1979 1979
1980 class LClampDoubleToUint8: public LTemplateInstruction<1, 1, 0> { 1980 class LClampDToUint8: public LTemplateInstruction<1, 1, 0> {
1981 public: 1981 public:
1982 explicit LClampDoubleToUint8(LOperand* value) { 1982 explicit LClampDToUint8(LOperand* value) {
1983 inputs_[0] = value; 1983 inputs_[0] = value;
1984 } 1984 }
1985 1985
1986 LOperand* unclamped() { return inputs_[0]; } 1986 LOperand* unclamped() { return inputs_[0]; }
1987 1987
1988 DECLARE_CONCRETE_INSTRUCTION(ClampDoubleToUint8, "clamp-d-to-uint8") 1988 DECLARE_CONCRETE_INSTRUCTION(ClampDToUint8, "clamp-d-to-uint8")
1989 }; 1989 };
1990 1990
1991 1991
1992 class LClampIToUint8: public LTemplateInstruction<1, 1, 0> { 1992 class LClampIToUint8: public LTemplateInstruction<1, 1, 0> {
1993 public: 1993 public:
1994 explicit LClampIToUint8(LOperand* value) { 1994 explicit LClampIToUint8(LOperand* value) {
1995 inputs_[0] = value; 1995 inputs_[0] = value;
1996 } 1996 }
1997 1997
1998 LOperand* unclamped() { return inputs_[0]; } 1998 LOperand* unclamped() { return inputs_[0]; }
1999 1999
2000 DECLARE_CONCRETE_INSTRUCTION(ClampIToUint8, "clamp-i-to-uint8") 2000 DECLARE_CONCRETE_INSTRUCTION(ClampIToUint8, "clamp-i-to-uint8")
2001 }; 2001 };
2002 2002
2003 2003
2004 class LClampTaggedToUint8: public LTemplateInstruction<1, 1, 1> { 2004 class LClampTToUint8: public LTemplateInstruction<1, 1, 1> {
2005 public: 2005 public:
2006 explicit LClampTaggedToUint8(LOperand* value, LOperand* temp) { 2006 LClampTToUint8(LOperand* value, LOperand* temp) {
2007 inputs_[0] = value; 2007 inputs_[0] = value;
2008 temps_[0] = temp; 2008 temps_[0] = temp;
2009 } 2009 }
2010 2010
2011 LOperand* unclamped() { return inputs_[0]; } 2011 LOperand* unclamped() { return inputs_[0]; }
2012 2012
2013 DECLARE_CONCRETE_INSTRUCTION(ClampTaggedToUint8, "clamp-t-to-uint8") 2013 DECLARE_CONCRETE_INSTRUCTION(ClampTToUint8, "clamp-t-to-uint8")
2014 }; 2014 };
2015 2015
2016 2016
2017 class LCheckNonSmi: public LTemplateInstruction<0, 1, 0> { 2017 class LCheckNonSmi: public LTemplateInstruction<0, 1, 0> {
2018 public: 2018 public:
2019 explicit LCheckNonSmi(LOperand* value) { 2019 explicit LCheckNonSmi(LOperand* value) {
2020 inputs_[0] = value; 2020 inputs_[0] = value;
2021 } 2021 }
2022 2022
2023 DECLARE_CONCRETE_INSTRUCTION(CheckNonSmi, "check-non-smi") 2023 DECLARE_CONCRETE_INSTRUCTION(CheckNonSmi, "check-non-smi")
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after
2389 2389
2390 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2390 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2391 }; 2391 };
2392 2392
2393 #undef DECLARE_HYDROGEN_ACCESSOR 2393 #undef DECLARE_HYDROGEN_ACCESSOR
2394 #undef DECLARE_CONCRETE_INSTRUCTION 2394 #undef DECLARE_CONCRETE_INSTRUCTION
2395 2395
2396 } } // namespace v8::internal 2396 } } // namespace v8::internal
2397 2397
2398 #endif // V8_IA32_LITHIUM_IA32_H_ 2398 #endif // V8_IA32_LITHIUM_IA32_H_
OLDNEW
« no previous file with comments | « src/ia32/lithium-codegen-ia32.cc ('k') | src/ia32/lithium-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698