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/ppc/lithium-ppc.h

Issue 1088573002: PPC: Remove unnecessary options from HTailCallThroughMegamorphicCache (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 8 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 446 matching lines...) Expand 10 before | Expand all | Expand 10 after
457 explicit LCallStub(LOperand* context) { inputs_[0] = context; } 457 explicit LCallStub(LOperand* context) { inputs_[0] = context; }
458 458
459 LOperand* context() { return inputs_[0]; } 459 LOperand* context() { return inputs_[0]; }
460 460
461 DECLARE_CONCRETE_INSTRUCTION(CallStub, "call-stub") 461 DECLARE_CONCRETE_INSTRUCTION(CallStub, "call-stub")
462 DECLARE_HYDROGEN_ACCESSOR(CallStub) 462 DECLARE_HYDROGEN_ACCESSOR(CallStub)
463 }; 463 };
464 464
465 465
466 class LTailCallThroughMegamorphicCache FINAL 466 class LTailCallThroughMegamorphicCache FINAL
467 : public LTemplateInstruction<0, 5, 0> { 467 : public LTemplateInstruction<0, 3, 0> {
468 public: 468 public:
469 LTailCallThroughMegamorphicCache(LOperand* context, LOperand* receiver, 469 LTailCallThroughMegamorphicCache(LOperand* context, LOperand* receiver,
470 LOperand* name, LOperand* slot, 470 LOperand* name) {
471 LOperand* vector) {
472 inputs_[0] = context; 471 inputs_[0] = context;
473 inputs_[1] = receiver; 472 inputs_[1] = receiver;
474 inputs_[2] = name; 473 inputs_[2] = name;
475 inputs_[3] = slot;
476 inputs_[4] = vector;
477 } 474 }
478 475
479 LOperand* context() { return inputs_[0]; } 476 LOperand* context() { return inputs_[0]; }
480 LOperand* receiver() { return inputs_[1]; } 477 LOperand* receiver() { return inputs_[1]; }
481 LOperand* name() { return inputs_[2]; } 478 LOperand* name() { return inputs_[2]; }
482 LOperand* slot() { return inputs_[3]; }
483 LOperand* vector() { return inputs_[4]; }
484 479
485 DECLARE_CONCRETE_INSTRUCTION(TailCallThroughMegamorphicCache, 480 DECLARE_CONCRETE_INSTRUCTION(TailCallThroughMegamorphicCache,
486 "tail-call-through-megamorphic-cache") 481 "tail-call-through-megamorphic-cache")
487 DECLARE_HYDROGEN_ACCESSOR(TailCallThroughMegamorphicCache) 482 DECLARE_HYDROGEN_ACCESSOR(TailCallThroughMegamorphicCache)
488 }; 483 };
489 484
490 485
491 class LUnknownOSRValue FINAL : public LTemplateInstruction<1, 0, 0> { 486 class LUnknownOSRValue FINAL : public LTemplateInstruction<1, 0, 0> {
492 public: 487 public:
493 bool HasInterestingComment(LCodeGen* gen) const OVERRIDE { return false; } 488 bool HasInterestingComment(LCodeGen* gen) const OVERRIDE { return false; }
(...skipping 2236 matching lines...) Expand 10 before | Expand all | Expand 10 after
2730 2725
2731 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2726 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2732 }; 2727 };
2733 2728
2734 #undef DECLARE_HYDROGEN_ACCESSOR 2729 #undef DECLARE_HYDROGEN_ACCESSOR
2735 #undef DECLARE_CONCRETE_INSTRUCTION 2730 #undef DECLARE_CONCRETE_INSTRUCTION
2736 } 2731 }
2737 } // namespace v8::internal 2732 } // namespace v8::internal
2738 2733
2739 #endif // V8_PPC_LITHIUM_PPC_H_ 2734 #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