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

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

Issue 965823002: Contribution of PowerPC port (continuation of 422063005) - currency (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 9 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
« no previous file with comments | « src/ppc/lithium-codegen-ppc.cc ('k') | src/ppc/lithium-ppc.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_PPC_LITHIUM_PPC_H_ 5 #ifndef V8_PPC_LITHIUM_PPC_H_
6 #define V8_PPC_LITHIUM_PPC_H_ 6 #define V8_PPC_LITHIUM_PPC_H_
7 7
8 #include "src/hydrogen.h" 8 #include "src/hydrogen.h"
9 #include "src/lithium.h" 9 #include "src/lithium.h"
10 #include "src/lithium-allocator.h" 10 #include "src/lithium-allocator.h"
(...skipping 2301 matching lines...) Expand 10 before | Expand all | Expand 10 after
2312 public: 2312 public:
2313 explicit LCheckInstanceType(LOperand* value) { inputs_[0] = value; } 2313 explicit LCheckInstanceType(LOperand* value) { inputs_[0] = value; }
2314 2314
2315 LOperand* value() { return inputs_[0]; } 2315 LOperand* value() { return inputs_[0]; }
2316 2316
2317 DECLARE_CONCRETE_INSTRUCTION(CheckInstanceType, "check-instance-type") 2317 DECLARE_CONCRETE_INSTRUCTION(CheckInstanceType, "check-instance-type")
2318 DECLARE_HYDROGEN_ACCESSOR(CheckInstanceType) 2318 DECLARE_HYDROGEN_ACCESSOR(CheckInstanceType)
2319 }; 2319 };
2320 2320
2321 2321
2322 class LCheckMaps FINAL : public LTemplateInstruction<0, 1, 0> { 2322 class LCheckMaps FINAL : public LTemplateInstruction<0, 1, 1> {
2323 public: 2323 public:
2324 explicit LCheckMaps(LOperand* value = NULL) { inputs_[0] = value; } 2324 explicit LCheckMaps(LOperand* value = NULL, LOperand* temp = NULL) {
2325 inputs_[0] = value;
2326 temps_[0] = temp;
2327 }
2325 2328
2326 LOperand* value() { return inputs_[0]; } 2329 LOperand* value() { return inputs_[0]; }
2330 LOperand* temp() { return temps_[0]; }
2327 2331
2328 DECLARE_CONCRETE_INSTRUCTION(CheckMaps, "check-maps") 2332 DECLARE_CONCRETE_INSTRUCTION(CheckMaps, "check-maps")
2329 DECLARE_HYDROGEN_ACCESSOR(CheckMaps) 2333 DECLARE_HYDROGEN_ACCESSOR(CheckMaps)
2330 }; 2334 };
2331 2335
2332 2336
2333 class LCheckSmi FINAL : public LTemplateInstruction<1, 1, 0> { 2337 class LCheckSmi FINAL : public LTemplateInstruction<1, 1, 0> {
2334 public: 2338 public:
2335 explicit LCheckSmi(LOperand* value) { inputs_[0] = value; } 2339 explicit LCheckSmi(LOperand* value) { inputs_[0] = value; }
2336 2340
(...skipping 413 matching lines...) Expand 10 before | Expand all | Expand 10 after
2750 2754
2751 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2755 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2752 }; 2756 };
2753 2757
2754 #undef DECLARE_HYDROGEN_ACCESSOR 2758 #undef DECLARE_HYDROGEN_ACCESSOR
2755 #undef DECLARE_CONCRETE_INSTRUCTION 2759 #undef DECLARE_CONCRETE_INSTRUCTION
2756 } 2760 }
2757 } // namespace v8::internal 2761 } // namespace v8::internal
2758 2762
2759 #endif // V8_PPC_LITHIUM_PPC_H_ 2763 #endif // V8_PPC_LITHIUM_PPC_H_
OLDNEW
« no previous file with comments | « src/ppc/lithium-codegen-ppc.cc ('k') | src/ppc/lithium-ppc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698