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

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

Issue 1087573003: X87: 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/x87/lithium-codegen-x87.cc ('k') | src/x87/lithium-x87.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_X87_LITHIUM_X87_H_ 5 #ifndef V8_X87_LITHIUM_X87_H_
6 #define V8_X87_LITHIUM_X87_H_ 6 #define V8_X87_LITHIUM_X87_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 467 matching lines...) Expand 10 before | Expand all | Expand 10 after
478 } 478 }
479 479
480 LOperand* context() { return inputs_[0]; } 480 LOperand* context() { return inputs_[0]; }
481 481
482 DECLARE_CONCRETE_INSTRUCTION(CallStub, "call-stub") 482 DECLARE_CONCRETE_INSTRUCTION(CallStub, "call-stub")
483 DECLARE_HYDROGEN_ACCESSOR(CallStub) 483 DECLARE_HYDROGEN_ACCESSOR(CallStub)
484 }; 484 };
485 485
486 486
487 class LTailCallThroughMegamorphicCache FINAL 487 class LTailCallThroughMegamorphicCache FINAL
488 : public LTemplateInstruction<0, 5, 0> { 488 : public LTemplateInstruction<0, 3, 0> {
489 public: 489 public:
490 LTailCallThroughMegamorphicCache(LOperand* context, LOperand* receiver, 490 LTailCallThroughMegamorphicCache(LOperand* context, LOperand* receiver,
491 LOperand* name, LOperand* slot, 491 LOperand* name) {
492 LOperand* vector) {
493 inputs_[0] = context; 492 inputs_[0] = context;
494 inputs_[1] = receiver; 493 inputs_[1] = receiver;
495 inputs_[2] = name; 494 inputs_[2] = name;
496 inputs_[3] = slot;
497 inputs_[4] = vector;
498 } 495 }
499 496
500 LOperand* context() { return inputs_[0]; } 497 LOperand* context() { return inputs_[0]; }
501 LOperand* receiver() { return inputs_[1]; } 498 LOperand* receiver() { return inputs_[1]; }
502 LOperand* name() { return inputs_[2]; } 499 LOperand* name() { return inputs_[2]; }
503 LOperand* slot() { return inputs_[3]; }
504 LOperand* vector() { return inputs_[4]; }
505 500
506 DECLARE_CONCRETE_INSTRUCTION(TailCallThroughMegamorphicCache, 501 DECLARE_CONCRETE_INSTRUCTION(TailCallThroughMegamorphicCache,
507 "tail-call-through-megamorphic-cache") 502 "tail-call-through-megamorphic-cache")
508 DECLARE_HYDROGEN_ACCESSOR(TailCallThroughMegamorphicCache) 503 DECLARE_HYDROGEN_ACCESSOR(TailCallThroughMegamorphicCache)
509 }; 504 };
510 505
511 506
512 class LUnknownOSRValue FINAL : public LTemplateInstruction<1, 0, 0> { 507 class LUnknownOSRValue FINAL : public LTemplateInstruction<1, 0, 0> {
513 public: 508 public:
514 bool HasInterestingComment(LCodeGen* gen) const OVERRIDE { return false; } 509 bool HasInterestingComment(LCodeGen* gen) const OVERRIDE { return false; }
(...skipping 2353 matching lines...) Expand 10 before | Expand all | Expand 10 after
2868 2863
2869 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2864 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2870 }; 2865 };
2871 2866
2872 #undef DECLARE_HYDROGEN_ACCESSOR 2867 #undef DECLARE_HYDROGEN_ACCESSOR
2873 #undef DECLARE_CONCRETE_INSTRUCTION 2868 #undef DECLARE_CONCRETE_INSTRUCTION
2874 2869
2875 } } // namespace v8::internal 2870 } } // namespace v8::internal
2876 2871
2877 #endif // V8_X87_LITHIUM_X87_H_ 2872 #endif // V8_X87_LITHIUM_X87_H_
OLDNEW
« no previous file with comments | « src/x87/lithium-codegen-x87.cc ('k') | src/x87/lithium-x87.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698