| 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_HYDROGEN_H_ | 5 #ifndef V8_HYDROGEN_H_ |
| 6 #define V8_HYDROGEN_H_ | 6 #define V8_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.h" | 10 #include "src/ast.h" |
| (...skipping 1340 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1351 void BuildNonGlobalObjectCheck(HValue* receiver); | 1351 void BuildNonGlobalObjectCheck(HValue* receiver); |
| 1352 | 1352 |
| 1353 HValue* BuildKeyedLookupCacheHash(HValue* object, | 1353 HValue* BuildKeyedLookupCacheHash(HValue* object, |
| 1354 HValue* key); | 1354 HValue* key); |
| 1355 | 1355 |
| 1356 HValue* BuildUncheckedDictionaryElementLoad(HValue* receiver, | 1356 HValue* BuildUncheckedDictionaryElementLoad(HValue* receiver, |
| 1357 HValue* elements, HValue* key, | 1357 HValue* elements, HValue* key, |
| 1358 HValue* hash, | 1358 HValue* hash, |
| 1359 LanguageMode language_mode); | 1359 LanguageMode language_mode); |
| 1360 | 1360 |
| 1361 // ES6 section 7.4.7 CreateIterResultObject ( value, done ) |
| 1362 HValue* BuildCreateIterResultObject(HValue* value, HValue* done); |
| 1363 |
| 1361 HValue* BuildRegExpConstructResult(HValue* length, | 1364 HValue* BuildRegExpConstructResult(HValue* length, |
| 1362 HValue* index, | 1365 HValue* index, |
| 1363 HValue* input); | 1366 HValue* input); |
| 1364 | 1367 |
| 1365 // Allocates a new object according with the given allocation properties. | 1368 // Allocates a new object according with the given allocation properties. |
| 1366 HAllocate* BuildAllocate(HValue* object_size, | 1369 HAllocate* BuildAllocate(HValue* object_size, |
| 1367 HType type, | 1370 HType type, |
| 1368 InstanceType instance_type, | 1371 InstanceType instance_type, |
| 1369 HAllocationMode allocation_mode); | 1372 HAllocationMode allocation_mode); |
| 1370 // Computes the sum of two string lengths, taking care of overflow handling. | 1373 // Computes the sum of two string lengths, taking care of overflow handling. |
| (...skipping 889 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2260 /* ES6 Collections */ \ | 2263 /* ES6 Collections */ \ |
| 2261 F(MapClear) \ | 2264 F(MapClear) \ |
| 2262 F(MapInitialize) \ | 2265 F(MapInitialize) \ |
| 2263 F(SetClear) \ | 2266 F(SetClear) \ |
| 2264 F(SetInitialize) \ | 2267 F(SetInitialize) \ |
| 2265 F(FixedArrayGet) \ | 2268 F(FixedArrayGet) \ |
| 2266 F(FixedArraySet) \ | 2269 F(FixedArraySet) \ |
| 2267 F(JSCollectionGetTable) \ | 2270 F(JSCollectionGetTable) \ |
| 2268 F(StringGetRawHashField) \ | 2271 F(StringGetRawHashField) \ |
| 2269 F(TheHole) \ | 2272 F(TheHole) \ |
| 2273 /* ES6 Iterators */ \ |
| 2274 F(CreateIterResultObject) \ |
| 2270 /* Arrays */ \ | 2275 /* Arrays */ \ |
| 2271 F(HasFastPackedElements) \ | 2276 F(HasFastPackedElements) \ |
| 2272 F(GetPrototype) \ | 2277 F(GetPrototype) \ |
| 2273 /* Strings */ \ | 2278 /* Strings */ \ |
| 2274 F(StringGetLength) \ | 2279 F(StringGetLength) \ |
| 2275 /* JSValue */ \ | 2280 /* JSValue */ \ |
| 2276 F(JSValueGetValue) | 2281 F(JSValueGetValue) |
| 2277 | 2282 |
| 2278 #define GENERATOR_DECLARATION(Name) void Generate##Name(CallRuntime* call); | 2283 #define GENERATOR_DECLARATION(Name) void Generate##Name(CallRuntime* call); |
| 2279 FOR_EACH_HYDROGEN_INTRINSIC(GENERATOR_DECLARATION) | 2284 FOR_EACH_HYDROGEN_INTRINSIC(GENERATOR_DECLARATION) |
| (...skipping 785 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3065 } | 3070 } |
| 3066 | 3071 |
| 3067 private: | 3072 private: |
| 3068 HGraphBuilder* builder_; | 3073 HGraphBuilder* builder_; |
| 3069 }; | 3074 }; |
| 3070 | 3075 |
| 3071 | 3076 |
| 3072 } } // namespace v8::internal | 3077 } } // namespace v8::internal |
| 3073 | 3078 |
| 3074 #endif // V8_HYDROGEN_H_ | 3079 #endif // V8_HYDROGEN_H_ |
| OLD | NEW |