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

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

Issue 135593006: Optimize HWrapReceiver (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Syntax fixes 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | src/arm/lithium-codegen-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 // 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 531 matching lines...) Expand 10 before | Expand all | Expand 10 after
542 542
543 543
544 class LWrapReceiver V8_FINAL : public LTemplateInstruction<1, 2, 0> { 544 class LWrapReceiver V8_FINAL : public LTemplateInstruction<1, 2, 0> {
545 public: 545 public:
546 LWrapReceiver(LOperand* receiver, LOperand* function) { 546 LWrapReceiver(LOperand* receiver, LOperand* function) {
547 inputs_[0] = receiver; 547 inputs_[0] = receiver;
548 inputs_[1] = function; 548 inputs_[1] = function;
549 } 549 }
550 550
551 DECLARE_CONCRETE_INSTRUCTION(WrapReceiver, "wrap-receiver") 551 DECLARE_CONCRETE_INSTRUCTION(WrapReceiver, "wrap-receiver")
552 DECLARE_HYDROGEN_ACCESSOR(WrapReceiver)
552 553
553 LOperand* receiver() { return inputs_[0]; } 554 LOperand* receiver() { return inputs_[0]; }
554 LOperand* function() { return inputs_[1]; } 555 LOperand* function() { return inputs_[1]; }
555 }; 556 };
556 557
557 558
558 class LApplyArguments V8_FINAL : public LTemplateInstruction<1, 4, 0> { 559 class LApplyArguments V8_FINAL : public LTemplateInstruction<1, 4, 0> {
559 public: 560 public:
560 LApplyArguments(LOperand* function, 561 LApplyArguments(LOperand* function,
561 LOperand* receiver, 562 LOperand* receiver,
(...skipping 2160 matching lines...) Expand 10 before | Expand all | Expand 10 after
2722 2723
2723 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2724 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2724 }; 2725 };
2725 2726
2726 #undef DECLARE_HYDROGEN_ACCESSOR 2727 #undef DECLARE_HYDROGEN_ACCESSOR
2727 #undef DECLARE_CONCRETE_INSTRUCTION 2728 #undef DECLARE_CONCRETE_INSTRUCTION
2728 2729
2729 } } // namespace v8::internal 2730 } } // namespace v8::internal
2730 2731
2731 #endif // V8_ARM_LITHIUM_ARM_H_ 2732 #endif // V8_ARM_LITHIUM_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | src/arm/lithium-codegen-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698