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/ia32/lithium-ia32.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 | « src/ia32/lithium-codegen-ia32.cc ('k') | src/x64/lithium-codegen-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 // 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 547 matching lines...) Expand 10 before | Expand all | Expand 10 after
558 inputs_[0] = receiver; 558 inputs_[0] = receiver;
559 inputs_[1] = function; 559 inputs_[1] = function;
560 temps_[0] = temp; 560 temps_[0] = temp;
561 } 561 }
562 562
563 LOperand* receiver() { return inputs_[0]; } 563 LOperand* receiver() { return inputs_[0]; }
564 LOperand* function() { return inputs_[1]; } 564 LOperand* function() { return inputs_[1]; }
565 LOperand* temp() { return temps_[0]; } 565 LOperand* temp() { return temps_[0]; }
566 566
567 DECLARE_CONCRETE_INSTRUCTION(WrapReceiver, "wrap-receiver") 567 DECLARE_CONCRETE_INSTRUCTION(WrapReceiver, "wrap-receiver")
568 DECLARE_HYDROGEN_ACCESSOR(WrapReceiver)
568 }; 569 };
569 570
570 571
571 class LApplyArguments V8_FINAL : public LTemplateInstruction<1, 4, 0> { 572 class LApplyArguments V8_FINAL : public LTemplateInstruction<1, 4, 0> {
572 public: 573 public:
573 LApplyArguments(LOperand* function, 574 LApplyArguments(LOperand* function,
574 LOperand* receiver, 575 LOperand* receiver,
575 LOperand* length, 576 LOperand* length,
576 LOperand* elements) { 577 LOperand* elements) {
577 inputs_[0] = function; 578 inputs_[0] = function;
(...skipping 2162 matching lines...) Expand 10 before | Expand all | Expand 10 after
2740 2741
2741 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2742 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2742 }; 2743 };
2743 2744
2744 #undef DECLARE_HYDROGEN_ACCESSOR 2745 #undef DECLARE_HYDROGEN_ACCESSOR
2745 #undef DECLARE_CONCRETE_INSTRUCTION 2746 #undef DECLARE_CONCRETE_INSTRUCTION
2746 2747
2747 } } // namespace v8::internal 2748 } } // namespace v8::internal
2748 2749
2749 #endif // V8_IA32_LITHIUM_IA32_H_ 2750 #endif // V8_IA32_LITHIUM_IA32_H_
OLDNEW
« no previous file with comments | « src/ia32/lithium-codegen-ia32.cc ('k') | src/x64/lithium-codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698