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

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

Issue 23691067: Remove unused HIsNumberAndBranch instruction. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 3 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 | « no previous file | src/arm/lithium-arm.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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 V(InstanceOf) \ 106 V(InstanceOf) \
107 V(InstanceOfKnownGlobal) \ 107 V(InstanceOfKnownGlobal) \
108 V(InstanceSize) \ 108 V(InstanceSize) \
109 V(InstructionGap) \ 109 V(InstructionGap) \
110 V(Integer32ToDouble) \ 110 V(Integer32ToDouble) \
111 V(Integer32ToSmi) \ 111 V(Integer32ToSmi) \
112 V(InvokeFunction) \ 112 V(InvokeFunction) \
113 V(IsConstructCallAndBranch) \ 113 V(IsConstructCallAndBranch) \
114 V(IsObjectAndBranch) \ 114 V(IsObjectAndBranch) \
115 V(IsStringAndBranch) \ 115 V(IsStringAndBranch) \
116 V(IsNumberAndBranch) \
117 V(IsSmiAndBranch) \ 116 V(IsSmiAndBranch) \
118 V(IsUndetectableAndBranch) \ 117 V(IsUndetectableAndBranch) \
119 V(Label) \ 118 V(Label) \
120 V(LazyBailout) \ 119 V(LazyBailout) \
121 V(LoadContextSlot) \ 120 V(LoadContextSlot) \
122 V(LoadExternalArrayPointer) \ 121 V(LoadExternalArrayPointer) \
123 V(LoadFieldByIndex) \ 122 V(LoadFieldByIndex) \
124 V(LoadFunctionPrototype) \ 123 V(LoadFunctionPrototype) \
125 V(LoadGlobalCell) \ 124 V(LoadGlobalCell) \
126 V(LoadGlobalGeneric) \ 125 V(LoadGlobalGeneric) \
(...skipping 805 matching lines...) Expand 10 before | Expand all | Expand 10 after
932 LOperand* value() { return inputs_[0]; } 931 LOperand* value() { return inputs_[0]; }
933 LOperand* temp() { return temps_[0]; } 932 LOperand* temp() { return temps_[0]; }
934 933
935 DECLARE_CONCRETE_INSTRUCTION(IsObjectAndBranch, "is-object-and-branch") 934 DECLARE_CONCRETE_INSTRUCTION(IsObjectAndBranch, "is-object-and-branch")
936 DECLARE_HYDROGEN_ACCESSOR(IsObjectAndBranch) 935 DECLARE_HYDROGEN_ACCESSOR(IsObjectAndBranch)
937 936
938 virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE; 937 virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE;
939 }; 938 };
940 939
941 940
942 class LIsNumberAndBranch V8_FINAL : public LControlInstruction<1, 0> {
943 public:
944 explicit LIsNumberAndBranch(LOperand* value) {
945 inputs_[0] = value;
946 }
947
948 LOperand* value() { return inputs_[0]; }
949
950 DECLARE_CONCRETE_INSTRUCTION(IsNumberAndBranch, "is-number-and-branch")
951 DECLARE_HYDROGEN_ACCESSOR(IsNumberAndBranch)
952 };
953
954
955 class LIsStringAndBranch V8_FINAL : public LControlInstruction<1, 1> { 941 class LIsStringAndBranch V8_FINAL : public LControlInstruction<1, 1> {
956 public: 942 public:
957 LIsStringAndBranch(LOperand* value, LOperand* temp) { 943 LIsStringAndBranch(LOperand* value, LOperand* temp) {
958 inputs_[0] = value; 944 inputs_[0] = value;
959 temps_[0] = temp; 945 temps_[0] = temp;
960 } 946 }
961 947
962 LOperand* value() { return inputs_[0]; } 948 LOperand* value() { return inputs_[0]; }
963 LOperand* temp() { return temps_[0]; } 949 LOperand* temp() { return temps_[0]; }
964 950
(...skipping 1831 matching lines...) Expand 10 before | Expand all | Expand 10 after
2796 2782
2797 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2783 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2798 }; 2784 };
2799 2785
2800 #undef DECLARE_HYDROGEN_ACCESSOR 2786 #undef DECLARE_HYDROGEN_ACCESSOR
2801 #undef DECLARE_CONCRETE_INSTRUCTION 2787 #undef DECLARE_CONCRETE_INSTRUCTION
2802 2788
2803 } } // namespace v8::internal 2789 } } // namespace v8::internal
2804 2790
2805 #endif // V8_ARM_LITHIUM_ARM_H_ 2791 #endif // V8_ARM_LITHIUM_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | src/arm/lithium-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698