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

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

Issue 66783007: Merged r17441 into 3.21 branch. (Closed) Base URL: https://v8.googlecode.com/svn/branches/3.21
Patch Set: Created 7 years, 1 month 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 | « no previous file | src/arm/lithium-arm.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 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 V(RSubI) \ 178 V(RSubI) \
179 V(TaggedToI) \ 179 V(TaggedToI) \
180 V(ThisFunction) \ 180 V(ThisFunction) \
181 V(Throw) \ 181 V(Throw) \
182 V(ToFastProperties) \ 182 V(ToFastProperties) \
183 V(TransitionElementsKind) \ 183 V(TransitionElementsKind) \
184 V(TrapAllocationMemento) \ 184 V(TrapAllocationMemento) \
185 V(Typeof) \ 185 V(Typeof) \
186 V(TypeofIsAndBranch) \ 186 V(TypeofIsAndBranch) \
187 V(Uint32ToDouble) \ 187 V(Uint32ToDouble) \
188 V(Uint32ToSmi) \
188 V(UnknownOSRValue) \ 189 V(UnknownOSRValue) \
189 V(ValueOf) \ 190 V(ValueOf) \
190 V(WrapReceiver) 191 V(WrapReceiver)
191 192
192 193
193 #define DECLARE_CONCRETE_INSTRUCTION(type, mnemonic) \ 194 #define DECLARE_CONCRETE_INSTRUCTION(type, mnemonic) \
194 virtual Opcode opcode() const V8_FINAL V8_OVERRIDE { \ 195 virtual Opcode opcode() const V8_FINAL V8_OVERRIDE { \
195 return LInstruction::k##type; \ 196 return LInstruction::k##type; \
196 } \ 197 } \
197 virtual void CompileToNative(LCodeGen* generator) V8_FINAL V8_OVERRIDE; \ 198 virtual void CompileToNative(LCodeGen* generator) V8_FINAL V8_OVERRIDE; \
(...skipping 1826 matching lines...) Expand 10 before | Expand all | Expand 10 after
2024 explicit LUint32ToDouble(LOperand* value) { 2025 explicit LUint32ToDouble(LOperand* value) {
2025 inputs_[0] = value; 2026 inputs_[0] = value;
2026 } 2027 }
2027 2028
2028 LOperand* value() { return inputs_[0]; } 2029 LOperand* value() { return inputs_[0]; }
2029 2030
2030 DECLARE_CONCRETE_INSTRUCTION(Uint32ToDouble, "uint32-to-double") 2031 DECLARE_CONCRETE_INSTRUCTION(Uint32ToDouble, "uint32-to-double")
2031 }; 2032 };
2032 2033
2033 2034
2035 class LUint32ToSmi V8_FINAL : public LTemplateInstruction<1, 1, 0> {
2036 public:
2037 explicit LUint32ToSmi(LOperand* value) {
2038 inputs_[0] = value;
2039 }
2040
2041 LOperand* value() { return inputs_[0]; }
2042
2043 DECLARE_CONCRETE_INSTRUCTION(Uint32ToSmi, "uint32-to-smi")
2044 DECLARE_HYDROGEN_ACCESSOR(Change)
2045 };
2046
2047
2034 class LNumberTagI V8_FINAL : public LTemplateInstruction<1, 1, 0> { 2048 class LNumberTagI V8_FINAL : public LTemplateInstruction<1, 1, 0> {
2035 public: 2049 public:
2036 explicit LNumberTagI(LOperand* value) { 2050 explicit LNumberTagI(LOperand* value) {
2037 inputs_[0] = value; 2051 inputs_[0] = value;
2038 } 2052 }
2039 2053
2040 LOperand* value() { return inputs_[0]; } 2054 LOperand* value() { return inputs_[0]; }
2041 2055
2042 DECLARE_CONCRETE_INSTRUCTION(NumberTagI, "number-tag-i") 2056 DECLARE_CONCRETE_INSTRUCTION(NumberTagI, "number-tag-i")
2043 }; 2057 };
(...skipping 752 matching lines...) Expand 10 before | Expand all | Expand 10 after
2796 2810
2797 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2811 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2798 }; 2812 };
2799 2813
2800 #undef DECLARE_HYDROGEN_ACCESSOR 2814 #undef DECLARE_HYDROGEN_ACCESSOR
2801 #undef DECLARE_CONCRETE_INSTRUCTION 2815 #undef DECLARE_CONCRETE_INSTRUCTION
2802 2816
2803 } } // namespace v8::internal 2817 } } // namespace v8::internal
2804 2818
2805 #endif // V8_ARM_LITHIUM_ARM_H_ 2819 #endif // V8_ARM_LITHIUM_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | src/arm/lithium-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698