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

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

Issue 145083018: MIPS: Optimize HWrapReceiver. (Closed) Base URL: https://github.com/v8/v8.git@gbl
Patch Set: Created 6 years, 10 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/mips/lithium-codegen-mips.cc ('k') | no next file » | 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 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 530 matching lines...) Expand 10 before | Expand all | Expand 10 after
541 541
542 542
543 class LWrapReceiver V8_FINAL : public LTemplateInstruction<1, 2, 0> { 543 class LWrapReceiver V8_FINAL : public LTemplateInstruction<1, 2, 0> {
544 public: 544 public:
545 LWrapReceiver(LOperand* receiver, LOperand* function) { 545 LWrapReceiver(LOperand* receiver, LOperand* function) {
546 inputs_[0] = receiver; 546 inputs_[0] = receiver;
547 inputs_[1] = function; 547 inputs_[1] = function;
548 } 548 }
549 549
550 DECLARE_CONCRETE_INSTRUCTION(WrapReceiver, "wrap-receiver") 550 DECLARE_CONCRETE_INSTRUCTION(WrapReceiver, "wrap-receiver")
551 DECLARE_HYDROGEN_ACCESSOR(WrapReceiver)
551 552
552 LOperand* receiver() { return inputs_[0]; } 553 LOperand* receiver() { return inputs_[0]; }
553 LOperand* function() { return inputs_[1]; } 554 LOperand* function() { return inputs_[1]; }
554 }; 555 };
555 556
556 557
557 class LApplyArguments V8_FINAL : public LTemplateInstruction<1, 4, 0> { 558 class LApplyArguments V8_FINAL : public LTemplateInstruction<1, 4, 0> {
558 public: 559 public:
559 LApplyArguments(LOperand* function, 560 LApplyArguments(LOperand* function,
560 LOperand* receiver, 561 LOperand* receiver,
(...skipping 2134 matching lines...) Expand 10 before | Expand all | Expand 10 after
2695 2696
2696 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2697 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2697 }; 2698 };
2698 2699
2699 #undef DECLARE_HYDROGEN_ACCESSOR 2700 #undef DECLARE_HYDROGEN_ACCESSOR
2700 #undef DECLARE_CONCRETE_INSTRUCTION 2701 #undef DECLARE_CONCRETE_INSTRUCTION
2701 2702
2702 } } // namespace v8::internal 2703 } } // namespace v8::internal
2703 2704
2704 #endif // V8_MIPS_LITHIUM_MIPS_H_ 2705 #endif // V8_MIPS_LITHIUM_MIPS_H_
OLDNEW
« no previous file with comments | « src/mips/lithium-codegen-mips.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698