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

Side by Side Diff: src/x64/lithium-x64.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/x64/lithium-codegen-x64.cc ('k') | src/x64/lithium-x64.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_X64_LITHIUM_X64_H_ 5 #ifndef V8_X64_LITHIUM_X64_H_
6 #define V8_X64_LITHIUM_X64_H_ 6 #define V8_X64_LITHIUM_X64_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 460 matching lines...) Expand 10 before | Expand all | Expand 10 after
471 } 471 }
472 472
473 LOperand* context() { return inputs_[0]; } 473 LOperand* context() { return inputs_[0]; }
474 474
475 DECLARE_CONCRETE_INSTRUCTION(CallStub, "call-stub") 475 DECLARE_CONCRETE_INSTRUCTION(CallStub, "call-stub")
476 DECLARE_HYDROGEN_ACCESSOR(CallStub) 476 DECLARE_HYDROGEN_ACCESSOR(CallStub)
477 }; 477 };
478 478
479 479
480 class LTailCallThroughMegamorphicCache FINAL 480 class LTailCallThroughMegamorphicCache FINAL
481 : public LTemplateInstruction<0, 5, 0> { 481 : public LTemplateInstruction<0, 3, 0> {
482 public: 482 public:
483 explicit LTailCallThroughMegamorphicCache(LOperand* context, 483 explicit LTailCallThroughMegamorphicCache(LOperand* context,
484 LOperand* receiver, LOperand* name, 484 LOperand* receiver,
485 LOperand* slot, LOperand* vector) { 485 LOperand* name) {
486 inputs_[0] = context; 486 inputs_[0] = context;
487 inputs_[1] = receiver; 487 inputs_[1] = receiver;
488 inputs_[2] = name; 488 inputs_[2] = name;
489 inputs_[3] = slot;
490 inputs_[4] = vector;
491 } 489 }
492 490
493 LOperand* context() { return inputs_[0]; } 491 LOperand* context() { return inputs_[0]; }
494 LOperand* receiver() { return inputs_[1]; } 492 LOperand* receiver() { return inputs_[1]; }
495 LOperand* name() { return inputs_[2]; } 493 LOperand* name() { return inputs_[2]; }
496 LOperand* slot() { return inputs_[3]; }
497 LOperand* vector() { return inputs_[4]; }
498 494
499 DECLARE_CONCRETE_INSTRUCTION(TailCallThroughMegamorphicCache, 495 DECLARE_CONCRETE_INSTRUCTION(TailCallThroughMegamorphicCache,
500 "tail-call-through-megamorphic-cache") 496 "tail-call-through-megamorphic-cache")
501 DECLARE_HYDROGEN_ACCESSOR(TailCallThroughMegamorphicCache) 497 DECLARE_HYDROGEN_ACCESSOR(TailCallThroughMegamorphicCache)
502 }; 498 };
503 499
504 500
505 class LUnknownOSRValue FINAL : public LTemplateInstruction<1, 0, 0> { 501 class LUnknownOSRValue FINAL : public LTemplateInstruction<1, 0, 0> {
506 public: 502 public:
507 bool HasInterestingComment(LCodeGen* gen) const OVERRIDE { return false; } 503 bool HasInterestingComment(LCodeGen* gen) const OVERRIDE { return false; }
(...skipping 2335 matching lines...) Expand 10 before | Expand all | Expand 10 after
2843 2839
2844 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2840 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2845 }; 2841 };
2846 2842
2847 #undef DECLARE_HYDROGEN_ACCESSOR 2843 #undef DECLARE_HYDROGEN_ACCESSOR
2848 #undef DECLARE_CONCRETE_INSTRUCTION 2844 #undef DECLARE_CONCRETE_INSTRUCTION
2849 2845
2850 } } // namespace v8::int 2846 } } // namespace v8::int
2851 2847
2852 #endif // V8_X64_LITHIUM_X64_H_ 2848 #endif // V8_X64_LITHIUM_X64_H_
OLDNEW
« no previous file with comments | « src/x64/lithium-codegen-x64.cc ('k') | src/x64/lithium-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698