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

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

Issue 1081883002: Remove unnecessary options from HTailCallThroughMegamorphicCache (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Ports. 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 | « 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 // 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_ARM_LITHIUM_ARM_H_ 5 #ifndef V8_ARM_LITHIUM_ARM_H_
6 #define V8_ARM_LITHIUM_ARM_H_ 6 #define V8_ARM_LITHIUM_ARM_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 456 matching lines...) Expand 10 before | Expand all | Expand 10 after
467 } 467 }
468 468
469 LOperand* context() { return inputs_[0]; } 469 LOperand* context() { return inputs_[0]; }
470 470
471 DECLARE_CONCRETE_INSTRUCTION(CallStub, "call-stub") 471 DECLARE_CONCRETE_INSTRUCTION(CallStub, "call-stub")
472 DECLARE_HYDROGEN_ACCESSOR(CallStub) 472 DECLARE_HYDROGEN_ACCESSOR(CallStub)
473 }; 473 };
474 474
475 475
476 class LTailCallThroughMegamorphicCache FINAL 476 class LTailCallThroughMegamorphicCache FINAL
477 : public LTemplateInstruction<0, 5, 0> { 477 : public LTemplateInstruction<0, 3, 0> {
478 public: 478 public:
479 LTailCallThroughMegamorphicCache(LOperand* context, LOperand* receiver, 479 LTailCallThroughMegamorphicCache(LOperand* context, LOperand* receiver,
480 LOperand* name, LOperand* slot, 480 LOperand* name) {
481 LOperand* vector) {
482 inputs_[0] = context; 481 inputs_[0] = context;
483 inputs_[1] = receiver; 482 inputs_[1] = receiver;
484 inputs_[2] = name; 483 inputs_[2] = name;
485 inputs_[3] = slot;
486 inputs_[4] = vector;
487 } 484 }
488 485
489 LOperand* context() { return inputs_[0]; } 486 LOperand* context() { return inputs_[0]; }
490 LOperand* receiver() { return inputs_[1]; } 487 LOperand* receiver() { return inputs_[1]; }
491 LOperand* name() { return inputs_[2]; } 488 LOperand* name() { return inputs_[2]; }
492 LOperand* slot() { return inputs_[3]; }
493 LOperand* vector() { return inputs_[4]; }
494 489
495 DECLARE_CONCRETE_INSTRUCTION(TailCallThroughMegamorphicCache, 490 DECLARE_CONCRETE_INSTRUCTION(TailCallThroughMegamorphicCache,
496 "tail-call-through-megamorphic-cache") 491 "tail-call-through-megamorphic-cache")
497 DECLARE_HYDROGEN_ACCESSOR(TailCallThroughMegamorphicCache) 492 DECLARE_HYDROGEN_ACCESSOR(TailCallThroughMegamorphicCache)
498 }; 493 };
499 494
500 495
501 class LUnknownOSRValue FINAL : public LTemplateInstruction<1, 0, 0> { 496 class LUnknownOSRValue FINAL : public LTemplateInstruction<1, 0, 0> {
502 public: 497 public:
503 bool HasInterestingComment(LCodeGen* gen) const OVERRIDE { return false; } 498 bool HasInterestingComment(LCodeGen* gen) const OVERRIDE { return false; }
(...skipping 2358 matching lines...) Expand 10 before | Expand all | Expand 10 after
2862 2857
2863 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2858 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2864 }; 2859 };
2865 2860
2866 #undef DECLARE_HYDROGEN_ACCESSOR 2861 #undef DECLARE_HYDROGEN_ACCESSOR
2867 #undef DECLARE_CONCRETE_INSTRUCTION 2862 #undef DECLARE_CONCRETE_INSTRUCTION
2868 2863
2869 } } // namespace v8::internal 2864 } } // namespace v8::internal
2870 2865
2871 #endif // V8_ARM_LITHIUM_ARM_H_ 2866 #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