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

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

Issue 17865002: ia32: Restore missing temp register for LNumberTagU (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: fix non-sse2 Created 7 years, 6 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 2050 matching lines...) Expand 10 before | Expand all | Expand 10 after
2061 explicit LNumberTagI(LOperand* value) { 2061 explicit LNumberTagI(LOperand* value) {
2062 inputs_[0] = value; 2062 inputs_[0] = value;
2063 } 2063 }
2064 2064
2065 LOperand* value() { return inputs_[0]; } 2065 LOperand* value() { return inputs_[0]; }
2066 2066
2067 DECLARE_CONCRETE_INSTRUCTION(NumberTagI, "number-tag-i") 2067 DECLARE_CONCRETE_INSTRUCTION(NumberTagI, "number-tag-i")
2068 }; 2068 };
2069 2069
2070 2070
2071 class LNumberTagU: public LTemplateInstruction<1, 1, 0> { 2071 class LNumberTagU: public LTemplateInstruction<1, 1, 1> {
2072 public: 2072 public:
2073 explicit LNumberTagU(LOperand* value) { 2073 LNumberTagU(LOperand* value, LOperand* temp) {
2074 inputs_[0] = value; 2074 inputs_[0] = value;
2075 temps_[0] = temp;
2075 } 2076 }
2076 2077
2077 LOperand* value() { return inputs_[0]; } 2078 LOperand* value() { return inputs_[0]; }
2079 LOperand* temp() { return temps_[0]; }
2078 2080
2079 DECLARE_CONCRETE_INSTRUCTION(NumberTagU, "number-tag-u") 2081 DECLARE_CONCRETE_INSTRUCTION(NumberTagU, "number-tag-u")
2080 }; 2082 };
2081 2083
2082 2084
2083 class LNumberTagD: public LTemplateInstruction<1, 1, 1> { 2085 class LNumberTagD: public LTemplateInstruction<1, 1, 1> {
2084 public: 2086 public:
2085 LNumberTagD(LOperand* value, LOperand* temp) { 2087 LNumberTagD(LOperand* value, LOperand* temp) {
2086 inputs_[0] = value; 2088 inputs_[0] = value;
2087 temps_[0] = temp; 2089 temps_[0] = temp;
(...skipping 894 matching lines...) Expand 10 before | Expand all | Expand 10 after
2982 2984
2983 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2985 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2984 }; 2986 };
2985 2987
2986 #undef DECLARE_HYDROGEN_ACCESSOR 2988 #undef DECLARE_HYDROGEN_ACCESSOR
2987 #undef DECLARE_CONCRETE_INSTRUCTION 2989 #undef DECLARE_CONCRETE_INSTRUCTION
2988 2990
2989 } } // namespace v8::internal 2991 } } // namespace v8::internal
2990 2992
2991 #endif // V8_IA32_LITHIUM_IA32_H_ 2993 #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