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/x64/lithium-x64.h

Issue 19691005: Remove HCompareConstantEqAndBranch (never used), and its corresponding Lithium instructions. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 5 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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 V(CheckInstanceType) \ 67 V(CheckInstanceType) \
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(CmpConstantEqAndBranch) \
78 V(CompareNumericAndBranch) \ 77 V(CompareNumericAndBranch) \
79 V(CmpObjectEqAndBranch) \ 78 V(CmpObjectEqAndBranch) \
80 V(CmpMapAndBranch) \ 79 V(CmpMapAndBranch) \
81 V(CmpT) \ 80 V(CmpT) \
82 V(ConstantD) \ 81 V(ConstantD) \
83 V(ConstantI) \ 82 V(ConstantI) \
84 V(ConstantS) \ 83 V(ConstantS) \
85 V(ConstantT) \ 84 V(ConstantT) \
86 V(Context) \ 85 V(Context) \
87 V(DateField) \ 86 V(DateField) \
(...skipping 736 matching lines...) Expand 10 before | Expand all | Expand 10 after
824 } 823 }
825 824
826 LOperand* left() { return inputs_[0]; } 825 LOperand* left() { return inputs_[0]; }
827 LOperand* right() { return inputs_[1]; } 826 LOperand* right() { return inputs_[1]; }
828 827
829 DECLARE_CONCRETE_INSTRUCTION(CmpObjectEqAndBranch, 828 DECLARE_CONCRETE_INSTRUCTION(CmpObjectEqAndBranch,
830 "cmp-object-eq-and-branch") 829 "cmp-object-eq-and-branch")
831 }; 830 };
832 831
833 832
834 class LCmpConstantEqAndBranch: public LControlInstruction<1, 0> {
835 public:
836 explicit LCmpConstantEqAndBranch(LOperand* left) {
837 inputs_[0] = left;
838 }
839
840 LOperand* left() { return inputs_[0]; }
841
842 DECLARE_CONCRETE_INSTRUCTION(CmpConstantEqAndBranch,
843 "cmp-constant-eq-and-branch")
844 DECLARE_HYDROGEN_ACCESSOR(CompareConstantEqAndBranch)
845 };
846
847
848 class LIsObjectAndBranch: public LControlInstruction<1, 0> { 833 class LIsObjectAndBranch: public LControlInstruction<1, 0> {
849 public: 834 public:
850 explicit LIsObjectAndBranch(LOperand* value) { 835 explicit LIsObjectAndBranch(LOperand* value) {
851 inputs_[0] = value; 836 inputs_[0] = value;
852 } 837 }
853 838
854 LOperand* value() { return inputs_[0]; } 839 LOperand* value() { return inputs_[0]; }
855 840
856 DECLARE_CONCRETE_INSTRUCTION(IsObjectAndBranch, "is-object-and-branch") 841 DECLARE_CONCRETE_INSTRUCTION(IsObjectAndBranch, "is-object-and-branch")
857 DECLARE_HYDROGEN_ACCESSOR(IsObjectAndBranch) 842 DECLARE_HYDROGEN_ACCESSOR(IsObjectAndBranch)
(...skipping 1862 matching lines...) Expand 10 before | Expand all | Expand 10 after
2720 2705
2721 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2706 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2722 }; 2707 };
2723 2708
2724 #undef DECLARE_HYDROGEN_ACCESSOR 2709 #undef DECLARE_HYDROGEN_ACCESSOR
2725 #undef DECLARE_CONCRETE_INSTRUCTION 2710 #undef DECLARE_CONCRETE_INSTRUCTION
2726 2711
2727 } } // namespace v8::int 2712 } } // namespace v8::int
2728 2713
2729 #endif // V8_X64_LITHIUM_X64_H_ 2714 #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