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

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

Issue 190763012: A64: Implement and use FillFields (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address Ulan's comments Created 6 years, 9 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/a64/builtins-a64.cc ('k') | src/a64/lithium-a64.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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 596 matching lines...) Expand 10 before | Expand all | Expand 10 after
607 } 607 }
608 608
609 LOperand* left() { return inputs_[0]; } 609 LOperand* left() { return inputs_[0]; }
610 LOperand* right() { return inputs_[1]; } 610 LOperand* right() { return inputs_[1]; }
611 611
612 DECLARE_CONCRETE_INSTRUCTION(AddS, "add-s") 612 DECLARE_CONCRETE_INSTRUCTION(AddS, "add-s")
613 DECLARE_HYDROGEN_ACCESSOR(Add) 613 DECLARE_HYDROGEN_ACCESSOR(Add)
614 }; 614 };
615 615
616 616
617 class LAllocate V8_FINAL : public LTemplateInstruction<1, 2, 2> { 617 class LAllocate V8_FINAL : public LTemplateInstruction<1, 2, 3> {
618 public: 618 public:
619 LAllocate(LOperand* context, 619 LAllocate(LOperand* context,
620 LOperand* size, 620 LOperand* size,
621 LOperand* temp1, 621 LOperand* temp1,
622 LOperand* temp2) { 622 LOperand* temp2,
623 LOperand* temp3) {
623 inputs_[0] = context; 624 inputs_[0] = context;
624 inputs_[1] = size; 625 inputs_[1] = size;
625 temps_[0] = temp1; 626 temps_[0] = temp1;
626 temps_[1] = temp2; 627 temps_[1] = temp2;
628 temps_[2] = temp3;
627 } 629 }
628 630
629 LOperand* context() { return inputs_[0]; } 631 LOperand* context() { return inputs_[0]; }
630 LOperand* size() { return inputs_[1]; } 632 LOperand* size() { return inputs_[1]; }
631 LOperand* temp1() { return temps_[0]; } 633 LOperand* temp1() { return temps_[0]; }
632 LOperand* temp2() { return temps_[1]; } 634 LOperand* temp2() { return temps_[1]; }
635 LOperand* temp3() { return temps_[2]; }
633 636
634 DECLARE_CONCRETE_INSTRUCTION(Allocate, "allocate") 637 DECLARE_CONCRETE_INSTRUCTION(Allocate, "allocate")
635 DECLARE_HYDROGEN_ACCESSOR(Allocate) 638 DECLARE_HYDROGEN_ACCESSOR(Allocate)
636 }; 639 };
637 640
638 641
639 class LApplyArguments V8_FINAL : public LTemplateInstruction<1, 4, 0> { 642 class LApplyArguments V8_FINAL : public LTemplateInstruction<1, 4, 0> {
640 public: 643 public:
641 LApplyArguments(LOperand* function, 644 LApplyArguments(LOperand* function,
642 LOperand* receiver, 645 LOperand* receiver,
(...skipping 2473 matching lines...) Expand 10 before | Expand all | Expand 10 after
3116 3119
3117 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 3120 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
3118 }; 3121 };
3119 3122
3120 #undef DECLARE_HYDROGEN_ACCESSOR 3123 #undef DECLARE_HYDROGEN_ACCESSOR
3121 #undef DECLARE_CONCRETE_INSTRUCTION 3124 #undef DECLARE_CONCRETE_INSTRUCTION
3122 3125
3123 } } // namespace v8::internal 3126 } } // namespace v8::internal
3124 3127
3125 #endif // V8_A64_LITHIUM_A64_H_ 3128 #endif // V8_A64_LITHIUM_A64_H_
OLDNEW
« no previous file with comments | « src/a64/builtins-a64.cc ('k') | src/a64/lithium-a64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698