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

Side by Side Diff: src/hydrogen-instructions.h

Issue 19962005: Cosmetic changes. (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/arm/lithium-arm.h ('k') | src/ia32/lithium-ia32.h » ('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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 V(CallNamed) \ 84 V(CallNamed) \
85 V(CallNew) \ 85 V(CallNew) \
86 V(CallNewArray) \ 86 V(CallNewArray) \
87 V(CallRuntime) \ 87 V(CallRuntime) \
88 V(CallStub) \ 88 V(CallStub) \
89 V(Change) \ 89 V(Change) \
90 V(CheckFunction) \ 90 V(CheckFunction) \
91 V(CheckHeapObject) \ 91 V(CheckHeapObject) \
92 V(CheckInstanceType) \ 92 V(CheckInstanceType) \
93 V(CheckMaps) \ 93 V(CheckMaps) \
94 V(CheckMapValue) \
95 V(CheckPrototypeMaps) \
94 V(CheckSmi) \ 96 V(CheckSmi) \
95 V(CheckPrototypeMaps) \
96 V(ClampToUint8) \ 97 V(ClampToUint8) \
97 V(ClassOfTestAndBranch) \ 98 V(ClassOfTestAndBranch) \
98 V(CompareNumericAndBranch) \ 99 V(CompareNumericAndBranch) \
99 V(CompareGeneric) \ 100 V(CompareGeneric) \
100 V(CompareObjectEqAndBranch) \ 101 V(CompareObjectEqAndBranch) \
101 V(CompareMap) \ 102 V(CompareMap) \
102 V(CompareConstantEqAndBranch) \ 103 V(CompareConstantEqAndBranch) \
103 V(Constant) \ 104 V(Constant) \
104 V(Context) \ 105 V(Context) \
106 V(DateField) \
105 V(DebugBreak) \ 107 V(DebugBreak) \
106 V(DeclareGlobals) \ 108 V(DeclareGlobals) \
107 V(Deoptimize) \ 109 V(Deoptimize) \
108 V(Div) \ 110 V(Div) \
109 V(DummyUse) \ 111 V(DummyUse) \
110 V(ElementsKind) \ 112 V(ElementsKind) \
111 V(EnterInlined) \ 113 V(EnterInlined) \
112 V(EnvironmentMarker) \ 114 V(EnvironmentMarker) \
113 V(ForceRepresentation) \ 115 V(ForceRepresentation) \
116 V(ForInCacheArray) \
117 V(ForInPrepareMap) \
114 V(FunctionLiteral) \ 118 V(FunctionLiteral) \
115 V(GetCachedArrayIndex) \ 119 V(GetCachedArrayIndex) \
116 V(GlobalObject) \ 120 V(GlobalObject) \
117 V(GlobalReceiver) \ 121 V(GlobalReceiver) \
118 V(Goto) \ 122 V(Goto) \
119 V(HasCachedArrayIndexAndBranch) \ 123 V(HasCachedArrayIndexAndBranch) \
120 V(HasInstanceTypeAndBranch) \ 124 V(HasInstanceTypeAndBranch) \
121 V(InductionVariableAnnotation) \ 125 V(InductionVariableAnnotation) \
122 V(InnerAllocatedObject) \ 126 V(InnerAllocatedObject) \
123 V(InstanceOf) \ 127 V(InstanceOf) \
124 V(InstanceOfKnownGlobal) \ 128 V(InstanceOfKnownGlobal) \
125 V(InstanceSize) \ 129 V(InstanceSize) \
126 V(InvokeFunction) \ 130 V(InvokeFunction) \
127 V(IsConstructCallAndBranch) \ 131 V(IsConstructCallAndBranch) \
128 V(IsObjectAndBranch) \ 132 V(IsObjectAndBranch) \
129 V(IsNumberAndBranch) \ 133 V(IsNumberAndBranch) \
130 V(IsStringAndBranch) \ 134 V(IsStringAndBranch) \
131 V(IsSmiAndBranch) \ 135 V(IsSmiAndBranch) \
132 V(IsUndetectableAndBranch) \ 136 V(IsUndetectableAndBranch) \
133 V(LeaveInlined) \ 137 V(LeaveInlined) \
134 V(LinkObjectInList) \ 138 V(LinkObjectInList) \
135 V(LoadContextSlot) \ 139 V(LoadContextSlot) \
136 V(LoadExternalArrayPointer) \ 140 V(LoadExternalArrayPointer) \
141 V(LoadFieldByIndex) \
137 V(LoadFunctionPrototype) \ 142 V(LoadFunctionPrototype) \
138 V(LoadGlobalCell) \ 143 V(LoadGlobalCell) \
139 V(LoadGlobalGeneric) \ 144 V(LoadGlobalGeneric) \
140 V(LoadKeyed) \ 145 V(LoadKeyed) \
141 V(LoadKeyedGeneric) \ 146 V(LoadKeyedGeneric) \
142 V(LoadNamedField) \ 147 V(LoadNamedField) \
143 V(LoadNamedFieldPolymorphic) \ 148 V(LoadNamedFieldPolymorphic) \
144 V(LoadNamedGeneric) \ 149 V(LoadNamedGeneric) \
145 V(MapEnumLength) \ 150 V(MapEnumLength) \
146 V(MathFloorOfDiv) \ 151 V(MathFloorOfDiv) \
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 V(Throw) \ 186 V(Throw) \
182 V(ToFastProperties) \ 187 V(ToFastProperties) \
183 V(TransitionElementsKind) \ 188 V(TransitionElementsKind) \
184 V(TrapAllocationMemento) \ 189 V(TrapAllocationMemento) \
185 V(Typeof) \ 190 V(Typeof) \
186 V(TypeofIsAndBranch) \ 191 V(TypeofIsAndBranch) \
187 V(UnaryMathOperation) \ 192 V(UnaryMathOperation) \
188 V(UnknownOSRValue) \ 193 V(UnknownOSRValue) \
189 V(UseConst) \ 194 V(UseConst) \
190 V(ValueOf) \ 195 V(ValueOf) \
191 V(ForInPrepareMap) \
192 V(ForInCacheArray) \
193 V(CheckMapValue) \
194 V(LoadFieldByIndex) \
195 V(DateField) \
196 V(WrapReceiver) 196 V(WrapReceiver)
197 197
198 #define GVN_TRACKED_FLAG_LIST(V) \ 198 #define GVN_TRACKED_FLAG_LIST(V) \
199 V(Maps) \ 199 V(Maps) \
200 V(NewSpacePromotion) 200 V(NewSpacePromotion)
201 201
202 #define GVN_UNTRACKED_FLAG_LIST(V) \ 202 #define GVN_UNTRACKED_FLAG_LIST(V) \
203 V(ArrayElements) \
204 V(ArrayLengths) \
205 V(BackingStoreFields) \
203 V(Calls) \ 206 V(Calls) \
204 V(InobjectFields) \ 207 V(ContextSlots) \
205 V(BackingStoreFields) \ 208 V(DoubleArrayElements) \
206 V(DoubleFields) \ 209 V(DoubleFields) \
207 V(ElementsKind) \ 210 V(ElementsKind) \
208 V(ElementsPointer) \ 211 V(ElementsPointer) \
209 V(ArrayElements) \
210 V(DoubleArrayElements) \
211 V(SpecializedArrayElements) \
212 V(GlobalVars) \ 212 V(GlobalVars) \
213 V(ArrayLengths) \ 213 V(InobjectFields) \
214 V(ContextSlots) \ 214 V(OsrEntries) \
215 V(OsrEntries) 215 V(SpecializedArrayElements)
216
216 217
217 #define DECLARE_ABSTRACT_INSTRUCTION(type) \ 218 #define DECLARE_ABSTRACT_INSTRUCTION(type) \
218 virtual bool Is##type() const { return true; } \ 219 virtual bool Is##type() const { return true; } \
219 static H##type* cast(HValue* value) { \ 220 static H##type* cast(HValue* value) { \
220 ASSERT(value->Is##type()); \ 221 ASSERT(value->Is##type()); \
221 return reinterpret_cast<H##type*>(value); \ 222 return reinterpret_cast<H##type*>(value); \
222 } 223 }
223 224
224 225
225 #define DECLARE_CONCRETE_INSTRUCTION(type) \ 226 #define DECLARE_CONCRETE_INSTRUCTION(type) \
(...skipping 6468 matching lines...) Expand 10 before | Expand all | Expand 10 after
6694 virtual bool IsDeletable() const { return true; } 6695 virtual bool IsDeletable() const { return true; }
6695 }; 6696 };
6696 6697
6697 6698
6698 #undef DECLARE_INSTRUCTION 6699 #undef DECLARE_INSTRUCTION
6699 #undef DECLARE_CONCRETE_INSTRUCTION 6700 #undef DECLARE_CONCRETE_INSTRUCTION
6700 6701
6701 } } // namespace v8::internal 6702 } } // namespace v8::internal
6702 6703
6703 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ 6704 #endif // V8_HYDROGEN_INSTRUCTIONS_H_
OLDNEW
« no previous file with comments | « src/arm/lithium-arm.h ('k') | src/ia32/lithium-ia32.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698