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

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

Issue 21014004: Add equality type parameter to HCompareObjectAndBranch (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: 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
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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
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(ClampTToUint8NoSSE2) \ 76 V(ClampTToUint8NoSSE2) \
77 V(ClassOfTestAndBranch) \ 77 V(ClassOfTestAndBranch) \
78 V(CompareNumericAndBranch) \ 78 V(CompareNumericAndBranch) \
79 V(CmpObjectEqAndBranch) \ 79 V(CmpObjectAndBranch) \
80 V(CmpMapAndBranch) \ 80 V(CmpMapAndBranch) \
81 V(CmpT) \ 81 V(CmpT) \
82 V(ConstantD) \ 82 V(ConstantD) \
83 V(ConstantI) \ 83 V(ConstantI) \
84 V(ConstantS) \ 84 V(ConstantS) \
85 V(ConstantT) \ 85 V(ConstantT) \
86 V(Context) \ 86 V(Context) \
87 V(DateField) \ 87 V(DateField) \
88 V(DebugBreak) \ 88 V(DebugBreak) \
89 V(DeclareGlobals) \ 89 V(DeclareGlobals) \
(...skipping 745 matching lines...) Expand 10 before | Expand all | Expand 10 after
835 } 835 }
836 836
837 LOperand* context() { return inputs_[1]; } 837 LOperand* context() { return inputs_[1]; }
838 LOperand* value() { return inputs_[0]; } 838 LOperand* value() { return inputs_[0]; }
839 LOperand* temp() { return temps_[0]; } 839 LOperand* temp() { return temps_[0]; }
840 840
841 DECLARE_CONCRETE_INSTRUCTION(MathPowHalf, "math-pow-half") 841 DECLARE_CONCRETE_INSTRUCTION(MathPowHalf, "math-pow-half")
842 }; 842 };
843 843
844 844
845 class LCmpObjectEqAndBranch: public LControlInstruction<2, 0> { 845 class LCmpObjectAndBranch: public LControlInstruction<2, 0> {
846 public: 846 public:
847 LCmpObjectEqAndBranch(LOperand* left, LOperand* right) { 847 LCmpObjectAndBranch(LOperand* left, LOperand* right) {
848 inputs_[0] = left; 848 inputs_[0] = left;
849 inputs_[1] = right; 849 inputs_[1] = right;
850 } 850 }
851 851
852 LOperand* left() { return inputs_[0]; } 852 LOperand* left() { return inputs_[0]; }
853 LOperand* right() { return inputs_[1]; } 853 LOperand* right() { return inputs_[1]; }
854 854
855 DECLARE_CONCRETE_INSTRUCTION(CmpObjectEqAndBranch, 855 DECLARE_CONCRETE_INSTRUCTION(CmpObjectAndBranch,
856 "cmp-object-eq-and-branch") 856 "cmp-object-and-branch")
857 DECLARE_HYDROGEN_ACCESSOR(CompareObjectAndBranch)
857 }; 858 };
858 859
859 860
860 class LIsObjectAndBranch: public LControlInstruction<1, 1> { 861 class LIsObjectAndBranch: public LControlInstruction<1, 1> {
861 public: 862 public:
862 LIsObjectAndBranch(LOperand* value, LOperand* temp) { 863 LIsObjectAndBranch(LOperand* value, LOperand* temp) {
863 inputs_[0] = value; 864 inputs_[0] = value;
864 temps_[0] = temp; 865 temps_[0] = temp;
865 } 866 }
866 867
(...skipping 2073 matching lines...) Expand 10 before | Expand all | Expand 10 after
2940 2941
2941 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2942 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2942 }; 2943 };
2943 2944
2944 #undef DECLARE_HYDROGEN_ACCESSOR 2945 #undef DECLARE_HYDROGEN_ACCESSOR
2945 #undef DECLARE_CONCRETE_INSTRUCTION 2946 #undef DECLARE_CONCRETE_INSTRUCTION
2946 2947
2947 } } // namespace v8::internal 2948 } } // namespace v8::internal
2948 2949
2949 #endif // V8_IA32_LITHIUM_IA32_H_ 2950 #endif // V8_IA32_LITHIUM_IA32_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698