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

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

Issue 19791003: Merged r15334 into 3.18 branch. (Closed) Base URL: https://v8.googlecode.com/svn/branches/3.18
Patch Set: Created 7 years, 4 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 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 2027 matching lines...) Expand 10 before | Expand all | Expand 10 after
2038 explicit LNumberTagI(LOperand* value) { 2038 explicit LNumberTagI(LOperand* value) {
2039 inputs_[0] = value; 2039 inputs_[0] = value;
2040 } 2040 }
2041 2041
2042 LOperand* value() { return inputs_[0]; } 2042 LOperand* value() { return inputs_[0]; }
2043 2043
2044 DECLARE_CONCRETE_INSTRUCTION(NumberTagI, "number-tag-i") 2044 DECLARE_CONCRETE_INSTRUCTION(NumberTagI, "number-tag-i")
2045 }; 2045 };
2046 2046
2047 2047
2048 class LNumberTagU: public LTemplateInstruction<1, 1, 0> { 2048 class LNumberTagU: public LTemplateInstruction<1, 1, 1> {
2049 public: 2049 public:
2050 explicit LNumberTagU(LOperand* value) { 2050 LNumberTagU(LOperand* value, LOperand* temp) {
2051 inputs_[0] = value; 2051 inputs_[0] = value;
2052 temps_[0] = temp;
2052 } 2053 }
2053 2054
2054 LOperand* value() { return inputs_[0]; } 2055 LOperand* value() { return inputs_[0]; }
2056 LOperand* temp() { return temps_[0]; }
2055 2057
2056 DECLARE_CONCRETE_INSTRUCTION(NumberTagU, "number-tag-u") 2058 DECLARE_CONCRETE_INSTRUCTION(NumberTagU, "number-tag-u")
2057 }; 2059 };
2058 2060
2059 2061
2060 class LNumberTagD: public LTemplateInstruction<1, 1, 1> { 2062 class LNumberTagD: public LTemplateInstruction<1, 1, 1> {
2061 public: 2063 public:
2062 LNumberTagD(LOperand* value, LOperand* temp) { 2064 LNumberTagD(LOperand* value, LOperand* temp) {
2063 inputs_[0] = value; 2065 inputs_[0] = value;
2064 temps_[0] = temp; 2066 temps_[0] = temp;
(...skipping 927 matching lines...) Expand 10 before | Expand all | Expand 10 after
2992 2994
2993 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2995 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2994 }; 2996 };
2995 2997
2996 #undef DECLARE_HYDROGEN_ACCESSOR 2998 #undef DECLARE_HYDROGEN_ACCESSOR
2997 #undef DECLARE_CONCRETE_INSTRUCTION 2999 #undef DECLARE_CONCRETE_INSTRUCTION
2998 3000
2999 } } // namespace v8::internal 3001 } } // namespace v8::internal
3000 3002
3001 #endif // V8_IA32_LITHIUM_IA32_H_ 3003 #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