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

Side by Side Diff: src/ia32/lithium-ia32.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/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(ClampDToUint8) \
71 V(ClampIToUint8) \
72 V(ClampTToUint8) \
70 V(ClassOfTest) \ 73 V(ClassOfTest) \
71 V(ClassOfTestAndBranch) \ 74 V(ClassOfTestAndBranch) \
72 V(CmpID) \ 75 V(CmpID) \
73 V(CmpIDAndBranch) \ 76 V(CmpIDAndBranch) \
74 V(CmpJSObjectEq) \ 77 V(CmpJSObjectEq) \
75 V(CmpJSObjectEqAndBranch) \ 78 V(CmpJSObjectEqAndBranch) \
76 V(CmpSymbolEq) \ 79 V(CmpSymbolEq) \
77 V(CmpSymbolEqAndBranch) \ 80 V(CmpSymbolEqAndBranch) \
78 V(CmpMapAndBranch) \ 81 V(CmpMapAndBranch) \
79 V(CmpT) \ 82 V(CmpT) \
(...skipping 1887 matching lines...) Expand 10 before | Expand all | Expand 10 after
1967 class LCheckSmi: public LTemplateInstruction<0, 1, 0> { 1970 class LCheckSmi: public LTemplateInstruction<0, 1, 0> {
1968 public: 1971 public:
1969 explicit LCheckSmi(LOperand* value) { 1972 explicit LCheckSmi(LOperand* value) {
1970 inputs_[0] = value; 1973 inputs_[0] = value;
1971 } 1974 }
1972 1975
1973 DECLARE_CONCRETE_INSTRUCTION(CheckSmi, "check-smi") 1976 DECLARE_CONCRETE_INSTRUCTION(CheckSmi, "check-smi")
1974 }; 1977 };
1975 1978
1976 1979
1980 class LClampDToUint8: public LTemplateInstruction<1, 1, 0> {
1981 public:
1982 explicit LClampDToUint8(LOperand* value) {
1983 inputs_[0] = value;
1984 }
1985
1986 LOperand* unclamped() { return inputs_[0]; }
1987
1988 DECLARE_CONCRETE_INSTRUCTION(ClampDToUint8, "clamp-d-to-uint8")
1989 };
1990
1991
1992 class LClampIToUint8: public LTemplateInstruction<1, 1, 0> {
1993 public:
1994 explicit LClampIToUint8(LOperand* value) {
1995 inputs_[0] = value;
1996 }
1997
1998 LOperand* unclamped() { return inputs_[0]; }
1999
2000 DECLARE_CONCRETE_INSTRUCTION(ClampIToUint8, "clamp-i-to-uint8")
2001 };
2002
2003
2004 class LClampTToUint8: public LTemplateInstruction<1, 1, 1> {
2005 public:
2006 LClampTToUint8(LOperand* value, LOperand* temp) {
2007 inputs_[0] = value;
2008 temps_[0] = temp;
2009 }
2010
2011 LOperand* unclamped() { return inputs_[0]; }
2012
2013 DECLARE_CONCRETE_INSTRUCTION(ClampTToUint8, "clamp-t-to-uint8")
2014 };
2015
2016
1977 class LCheckNonSmi: public LTemplateInstruction<0, 1, 0> { 2017 class LCheckNonSmi: public LTemplateInstruction<0, 1, 0> {
1978 public: 2018 public:
1979 explicit LCheckNonSmi(LOperand* value) { 2019 explicit LCheckNonSmi(LOperand* value) {
1980 inputs_[0] = value; 2020 inputs_[0] = value;
1981 } 2021 }
1982 2022
1983 DECLARE_CONCRETE_INSTRUCTION(CheckNonSmi, "check-non-smi") 2023 DECLARE_CONCRETE_INSTRUCTION(CheckNonSmi, "check-non-smi")
1984 }; 2024 };
1985 2025
1986 2026
(...skipping 362 matching lines...) Expand 10 before | Expand all | Expand 10 after
2349 2389
2350 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2390 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2351 }; 2391 };
2352 2392
2353 #undef DECLARE_HYDROGEN_ACCESSOR 2393 #undef DECLARE_HYDROGEN_ACCESSOR
2354 #undef DECLARE_CONCRETE_INSTRUCTION 2394 #undef DECLARE_CONCRETE_INSTRUCTION
2355 2395
2356 } } // namespace v8::internal 2396 } } // namespace v8::internal
2357 2397
2358 #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