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

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

Issue 199093003: Merged r19798, r19896 into 3.24 branch. (Closed) Base URL: https://v8.googlecode.com/svn/branches/3.24
Patch Set: 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/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 // 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 702 matching lines...) Expand 10 before | Expand all | Expand 10 after
713 inputs_[0] = value; 713 inputs_[0] = value;
714 } 714 }
715 715
716 LOperand* value() { return inputs_[0]; } 716 LOperand* value() { return inputs_[0]; }
717 717
718 DECLARE_CONCRETE_INSTRUCTION(MathFloor, "math-floor") 718 DECLARE_CONCRETE_INSTRUCTION(MathFloor, "math-floor")
719 DECLARE_HYDROGEN_ACCESSOR(UnaryMathOperation) 719 DECLARE_HYDROGEN_ACCESSOR(UnaryMathOperation)
720 }; 720 };
721 721
722 722
723 class LMathRound V8_FINAL : public LTemplateInstruction<1, 1, 0> { 723 class LMathRound V8_FINAL : public LTemplateInstruction<1, 1, 1> {
724 public: 724 public:
725 explicit LMathRound(LOperand* value) { 725 explicit LMathRound(LOperand* value, LOperand* temp) {
726 inputs_[0] = value; 726 inputs_[0] = value;
727 temps_[0] = temp;
727 } 728 }
728 729
729 LOperand* value() { return inputs_[0]; } 730 LOperand* value() { return inputs_[0]; }
731 LOperand* temp() { return temps_[0]; }
730 732
731 DECLARE_CONCRETE_INSTRUCTION(MathRound, "math-round") 733 DECLARE_CONCRETE_INSTRUCTION(MathRound, "math-round")
732 DECLARE_HYDROGEN_ACCESSOR(UnaryMathOperation) 734 DECLARE_HYDROGEN_ACCESSOR(UnaryMathOperation)
733 }; 735 };
734 736
735 737
736 class LMathAbs V8_FINAL : public LTemplateInstruction<1, 2, 0> { 738 class LMathAbs V8_FINAL : public LTemplateInstruction<1, 2, 0> {
737 public: 739 public:
738 explicit LMathAbs(LOperand* context, LOperand* value) { 740 explicit LMathAbs(LOperand* context, LOperand* value) {
739 inputs_[1] = context; 741 inputs_[1] = context;
(...skipping 1911 matching lines...) Expand 10 before | Expand all | Expand 10 after
2651 2653
2652 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2654 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2653 }; 2655 };
2654 2656
2655 #undef DECLARE_HYDROGEN_ACCESSOR 2657 #undef DECLARE_HYDROGEN_ACCESSOR
2656 #undef DECLARE_CONCRETE_INSTRUCTION 2658 #undef DECLARE_CONCRETE_INSTRUCTION
2657 2659
2658 } } // namespace v8::int 2660 } } // namespace v8::int
2659 2661
2660 #endif // V8_X64_LITHIUM_X64_H_ 2662 #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