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

Side by Side Diff: src/ia32/lithium-ia32.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 | « 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 // 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_IA32_LITHIUM_IA32_H_ 5 #ifndef V8_IA32_LITHIUM_IA32_H_
6 #define V8_IA32_LITHIUM_IA32_H_ 6 #define V8_IA32_LITHIUM_IA32_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 451 matching lines...) Expand 10 before | Expand all | Expand 10 after
462 } 462 }
463 463
464 LOperand* context() { return inputs_[0]; } 464 LOperand* context() { return inputs_[0]; }
465 465
466 DECLARE_CONCRETE_INSTRUCTION(CallStub, "call-stub") 466 DECLARE_CONCRETE_INSTRUCTION(CallStub, "call-stub")
467 DECLARE_HYDROGEN_ACCESSOR(CallStub) 467 DECLARE_HYDROGEN_ACCESSOR(CallStub)
468 }; 468 };
469 469
470 470
471 class LTailCallThroughMegamorphicCache FINAL 471 class LTailCallThroughMegamorphicCache FINAL
472 : public LTemplateInstruction<0, 5, 0> { 472 : public LTemplateInstruction<0, 3, 0> {
473 public: 473 public:
474 LTailCallThroughMegamorphicCache(LOperand* context, LOperand* receiver, 474 LTailCallThroughMegamorphicCache(LOperand* context, LOperand* receiver,
475 LOperand* name, LOperand* slot, 475 LOperand* name) {
476 LOperand* vector) {
477 inputs_[0] = context; 476 inputs_[0] = context;
478 inputs_[1] = receiver; 477 inputs_[1] = receiver;
479 inputs_[2] = name; 478 inputs_[2] = name;
480 inputs_[3] = slot;
481 inputs_[4] = vector;
482 } 479 }
483 480
484 LOperand* context() { return inputs_[0]; } 481 LOperand* context() { return inputs_[0]; }
485 LOperand* receiver() { return inputs_[1]; } 482 LOperand* receiver() { return inputs_[1]; }
486 LOperand* name() { return inputs_[2]; } 483 LOperand* name() { return inputs_[2]; }
487 LOperand* slot() { return inputs_[3]; }
488 LOperand* vector() { return inputs_[4]; }
489 484
490 DECLARE_CONCRETE_INSTRUCTION(TailCallThroughMegamorphicCache, 485 DECLARE_CONCRETE_INSTRUCTION(TailCallThroughMegamorphicCache,
491 "tail-call-through-megamorphic-cache") 486 "tail-call-through-megamorphic-cache")
492 DECLARE_HYDROGEN_ACCESSOR(TailCallThroughMegamorphicCache) 487 DECLARE_HYDROGEN_ACCESSOR(TailCallThroughMegamorphicCache)
493 }; 488 };
494 489
495 490
496 class LUnknownOSRValue FINAL : public LTemplateInstruction<1, 0, 0> { 491 class LUnknownOSRValue FINAL : public LTemplateInstruction<1, 0, 0> {
497 public: 492 public:
498 bool HasInterestingComment(LCodeGen* gen) const OVERRIDE { return false; } 493 bool HasInterestingComment(LCodeGen* gen) const OVERRIDE { return false; }
(...skipping 2357 matching lines...) Expand 10 before | Expand all | Expand 10 after
2856 2851
2857 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2852 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2858 }; 2853 };
2859 2854
2860 #undef DECLARE_HYDROGEN_ACCESSOR 2855 #undef DECLARE_HYDROGEN_ACCESSOR
2861 #undef DECLARE_CONCRETE_INSTRUCTION 2856 #undef DECLARE_CONCRETE_INSTRUCTION
2862 2857
2863 } } // namespace v8::internal 2858 } } // namespace v8::internal
2864 2859
2865 #endif // V8_IA32_LITHIUM_IA32_H_ 2860 #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