OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef V8_CRANKSHAFT_HYDROGEN_H_ | 5 #ifndef V8_CRANKSHAFT_HYDROGEN_H_ |
6 #define V8_CRANKSHAFT_HYDROGEN_H_ | 6 #define V8_CRANKSHAFT_HYDROGEN_H_ |
7 | 7 |
8 #include "src/accessors.h" | 8 #include "src/accessors.h" |
9 #include "src/allocation.h" | 9 #include "src/allocation.h" |
10 #include "src/ast/ast.h" | 10 #include "src/ast/ast.h" |
(...skipping 2182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2193 } | 2193 } |
2194 | 2194 |
2195 #define FOR_EACH_HYDROGEN_INTRINSIC(F) \ | 2195 #define FOR_EACH_HYDROGEN_INTRINSIC(F) \ |
2196 F(IsSmi) \ | 2196 F(IsSmi) \ |
2197 F(IsArray) \ | 2197 F(IsArray) \ |
2198 F(IsTypedArray) \ | 2198 F(IsTypedArray) \ |
2199 F(IsRegExp) \ | 2199 F(IsRegExp) \ |
2200 F(IsJSProxy) \ | 2200 F(IsJSProxy) \ |
2201 F(Call) \ | 2201 F(Call) \ |
2202 F(ValueOf) \ | 2202 F(ValueOf) \ |
2203 F(SetValueOf) \ | |
2204 F(IsDate) \ | 2203 F(IsDate) \ |
2205 F(StringCharFromCode) \ | 2204 F(StringCharFromCode) \ |
2206 F(StringCharAt) \ | 2205 F(StringCharAt) \ |
2207 F(OneByteSeqStringSetChar) \ | 2206 F(OneByteSeqStringSetChar) \ |
2208 F(TwoByteSeqStringSetChar) \ | 2207 F(TwoByteSeqStringSetChar) \ |
2209 F(ToInteger) \ | 2208 F(ToInteger) \ |
2210 F(ToName) \ | 2209 F(ToName) \ |
2211 F(ToObject) \ | 2210 F(ToObject) \ |
2212 F(ToString) \ | 2211 F(ToString) \ |
2213 F(ToLength) \ | 2212 F(ToLength) \ |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2250 F(SetClear) \ | 2249 F(SetClear) \ |
2251 F(SetInitialize) \ | 2250 F(SetInitialize) \ |
2252 F(FixedArrayGet) \ | 2251 F(FixedArrayGet) \ |
2253 F(FixedArraySet) \ | 2252 F(FixedArraySet) \ |
2254 F(JSCollectionGetTable) \ | 2253 F(JSCollectionGetTable) \ |
2255 F(StringGetRawHashField) \ | 2254 F(StringGetRawHashField) \ |
2256 F(TheHole) \ | 2255 F(TheHole) \ |
2257 /* ES6 Iterators */ \ | 2256 /* ES6 Iterators */ \ |
2258 F(CreateIterResultObject) \ | 2257 F(CreateIterResultObject) \ |
2259 /* Arrays */ \ | 2258 /* Arrays */ \ |
2260 F(HasFastPackedElements) \ | 2259 F(HasFastPackedElements) |
2261 /* JSValue */ \ | |
2262 F(JSValueGetValue) | |
2263 | 2260 |
2264 #define GENERATOR_DECLARATION(Name) void Generate##Name(CallRuntime* call); | 2261 #define GENERATOR_DECLARATION(Name) void Generate##Name(CallRuntime* call); |
2265 FOR_EACH_HYDROGEN_INTRINSIC(GENERATOR_DECLARATION) | 2262 FOR_EACH_HYDROGEN_INTRINSIC(GENERATOR_DECLARATION) |
2266 #undef GENERATOR_DECLARATION | 2263 #undef GENERATOR_DECLARATION |
2267 | 2264 |
2268 void VisitDelete(UnaryOperation* expr); | 2265 void VisitDelete(UnaryOperation* expr); |
2269 void VisitVoid(UnaryOperation* expr); | 2266 void VisitVoid(UnaryOperation* expr); |
2270 void VisitTypeof(UnaryOperation* expr); | 2267 void VisitTypeof(UnaryOperation* expr); |
2271 void VisitNot(UnaryOperation* expr); | 2268 void VisitNot(UnaryOperation* expr); |
2272 | 2269 |
(...skipping 769 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3042 | 3039 |
3043 private: | 3040 private: |
3044 HGraphBuilder* builder_; | 3041 HGraphBuilder* builder_; |
3045 }; | 3042 }; |
3046 | 3043 |
3047 | 3044 |
3048 } // namespace internal | 3045 } // namespace internal |
3049 } // namespace v8 | 3046 } // namespace v8 |
3050 | 3047 |
3051 #endif // V8_CRANKSHAFT_HYDROGEN_H_ | 3048 #endif // V8_CRANKSHAFT_HYDROGEN_H_ |
OLD | NEW |