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

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

Issue 14971005: Remove HIsNilAndBranch (it's now unused) (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 7 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(HasInstanceTypeAndBranch) \ 106 V(HasInstanceTypeAndBranch) \
107 V(In) \ 107 V(In) \
108 V(InstanceOf) \ 108 V(InstanceOf) \
109 V(InstanceOfKnownGlobal) \ 109 V(InstanceOfKnownGlobal) \
110 V(InstanceSize) \ 110 V(InstanceSize) \
111 V(InstructionGap) \ 111 V(InstructionGap) \
112 V(Integer32ToDouble) \ 112 V(Integer32ToDouble) \
113 V(Uint32ToDouble) \ 113 V(Uint32ToDouble) \
114 V(InvokeFunction) \ 114 V(InvokeFunction) \
115 V(IsConstructCallAndBranch) \ 115 V(IsConstructCallAndBranch) \
116 V(IsNilAndBranch) \
117 V(IsObjectAndBranch) \ 116 V(IsObjectAndBranch) \
118 V(IsStringAndBranch) \ 117 V(IsStringAndBranch) \
119 V(IsSmiAndBranch) \ 118 V(IsSmiAndBranch) \
120 V(IsUndetectableAndBranch) \ 119 V(IsUndetectableAndBranch) \
121 V(Label) \ 120 V(Label) \
122 V(LazyBailout) \ 121 V(LazyBailout) \
123 V(LoadContextSlot) \ 122 V(LoadContextSlot) \
124 V(LoadExternalArrayPointer) \ 123 V(LoadExternalArrayPointer) \
125 V(LoadFunctionPrototype) \ 124 V(LoadFunctionPrototype) \
126 V(LoadGlobalCell) \ 125 V(LoadGlobalCell) \
(...skipping 751 matching lines...) Expand 10 before | Expand all | Expand 10 after
878 } 877 }
879 878
880 LOperand* left() { return inputs_[0]; } 879 LOperand* left() { return inputs_[0]; }
881 880
882 DECLARE_CONCRETE_INSTRUCTION(CmpConstantEqAndBranch, 881 DECLARE_CONCRETE_INSTRUCTION(CmpConstantEqAndBranch,
883 "cmp-constant-eq-and-branch") 882 "cmp-constant-eq-and-branch")
884 DECLARE_HYDROGEN_ACCESSOR(CompareConstantEqAndBranch) 883 DECLARE_HYDROGEN_ACCESSOR(CompareConstantEqAndBranch)
885 }; 884 };
886 885
887 886
888 class LIsNilAndBranch: public LControlInstruction<1, 0> {
889 public:
890 explicit LIsNilAndBranch(LOperand* value) {
891 inputs_[0] = value;
892 }
893
894 LOperand* value() { return inputs_[0]; }
895
896 DECLARE_CONCRETE_INSTRUCTION(IsNilAndBranch, "is-nil-and-branch")
897 DECLARE_HYDROGEN_ACCESSOR(IsNilAndBranch)
898
899 EqualityKind kind() const { return hydrogen()->kind(); }
900 NilValue nil() const { return hydrogen()->nil(); }
901
902 virtual void PrintDataTo(StringStream* stream);
903 };
904
905
906 class LIsObjectAndBranch: public LControlInstruction<1, 1> { 887 class LIsObjectAndBranch: public LControlInstruction<1, 1> {
907 public: 888 public:
908 LIsObjectAndBranch(LOperand* value, LOperand* temp) { 889 LIsObjectAndBranch(LOperand* value, LOperand* temp) {
909 inputs_[0] = value; 890 inputs_[0] = value;
910 temps_[0] = temp; 891 temps_[0] = temp;
911 } 892 }
912 893
913 LOperand* value() { return inputs_[0]; } 894 LOperand* value() { return inputs_[0]; }
914 LOperand* temp() { return temps_[0]; } 895 LOperand* temp() { return temps_[0]; }
915 896
(...skipping 1916 matching lines...) Expand 10 before | Expand all | Expand 10 after
2832 2813
2833 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2814 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2834 }; 2815 };
2835 2816
2836 #undef DECLARE_HYDROGEN_ACCESSOR 2817 #undef DECLARE_HYDROGEN_ACCESSOR
2837 #undef DECLARE_CONCRETE_INSTRUCTION 2818 #undef DECLARE_CONCRETE_INSTRUCTION
2838 2819
2839 } } // namespace v8::internal 2820 } } // namespace v8::internal
2840 2821
2841 #endif // V8_ARM_LITHIUM_ARM_H_ 2822 #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