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

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

Issue 21014004: Add equality type parameter to HCompareObjectAndBranch (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Review feedback Created 7 years, 4 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 V(CheckMaps) \ 68 V(CheckMaps) \
69 V(CheckMapValue) \ 69 V(CheckMapValue) \
70 V(CheckNonSmi) \ 70 V(CheckNonSmi) \
71 V(CheckPrototypeMaps) \ 71 V(CheckPrototypeMaps) \
72 V(CheckSmi) \ 72 V(CheckSmi) \
73 V(ClampDToUint8) \ 73 V(ClampDToUint8) \
74 V(ClampIToUint8) \ 74 V(ClampIToUint8) \
75 V(ClampTToUint8) \ 75 V(ClampTToUint8) \
76 V(ClassOfTestAndBranch) \ 76 V(ClassOfTestAndBranch) \
77 V(CompareNumericAndBranch) \ 77 V(CompareNumericAndBranch) \
78 V(CmpObjectEqAndBranch) \ 78 V(CmpObjectAndBranch) \
79 V(CmpMapAndBranch) \ 79 V(CmpMapAndBranch) \
80 V(CmpT) \ 80 V(CmpT) \
81 V(ConstantD) \ 81 V(ConstantD) \
82 V(ConstantI) \ 82 V(ConstantI) \
83 V(ConstantS) \ 83 V(ConstantS) \
84 V(ConstantT) \ 84 V(ConstantT) \
85 V(Context) \ 85 V(Context) \
86 V(DateField) \ 86 V(DateField) \
87 V(DebugBreak) \ 87 V(DebugBreak) \
88 V(DeclareGlobals) \ 88 V(DeclareGlobals) \
(...skipping 720 matching lines...) Expand 10 before | Expand all | Expand 10 after
809 explicit LMathPowHalf(LOperand* value) { 809 explicit LMathPowHalf(LOperand* value) {
810 inputs_[0] = value; 810 inputs_[0] = value;
811 } 811 }
812 812
813 LOperand* value() { return inputs_[0]; } 813 LOperand* value() { return inputs_[0]; }
814 814
815 DECLARE_CONCRETE_INSTRUCTION(MathPowHalf, "math-pow-half") 815 DECLARE_CONCRETE_INSTRUCTION(MathPowHalf, "math-pow-half")
816 }; 816 };
817 817
818 818
819 class LCmpObjectEqAndBranch: public LControlInstruction<2, 0> { 819 class LCmpObjectAndBranch: public LControlInstruction<2, 0> {
820 public: 820 public:
821 LCmpObjectEqAndBranch(LOperand* left, LOperand* right) { 821 LCmpObjectAndBranch(LOperand* left, LOperand* right) {
822 inputs_[0] = left; 822 inputs_[0] = left;
823 inputs_[1] = right; 823 inputs_[1] = right;
824 } 824 }
825 825
826 LOperand* left() { return inputs_[0]; } 826 LOperand* left() { return inputs_[0]; }
827 LOperand* right() { return inputs_[1]; } 827 LOperand* right() { return inputs_[1]; }
828 828
829 DECLARE_CONCRETE_INSTRUCTION(CmpObjectEqAndBranch, 829 DECLARE_CONCRETE_INSTRUCTION(CmpObjectAndBranch,
830 "cmp-object-eq-and-branch") 830 "cmp-object-and-branch")
831 DECLARE_HYDROGEN_ACCESSOR(CompareObjectAndBranch)
831 }; 832 };
832 833
833 834
834 class LIsObjectAndBranch: public LControlInstruction<1, 0> { 835 class LIsObjectAndBranch: public LControlInstruction<1, 0> {
835 public: 836 public:
836 explicit LIsObjectAndBranch(LOperand* value) { 837 explicit LIsObjectAndBranch(LOperand* value) {
837 inputs_[0] = value; 838 inputs_[0] = value;
838 } 839 }
839 840
840 LOperand* value() { return inputs_[0]; } 841 LOperand* value() { return inputs_[0]; }
(...skipping 1865 matching lines...) Expand 10 before | Expand all | Expand 10 after
2706 2707
2707 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2708 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2708 }; 2709 };
2709 2710
2710 #undef DECLARE_HYDROGEN_ACCESSOR 2711 #undef DECLARE_HYDROGEN_ACCESSOR
2711 #undef DECLARE_CONCRETE_INSTRUCTION 2712 #undef DECLARE_CONCRETE_INSTRUCTION
2712 2713
2713 } } // namespace v8::int 2714 } } // namespace v8::int
2714 2715
2715 #endif // V8_X64_LITHIUM_X64_H_ 2716 #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