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/v8.h" | 8 #include "src/v8.h" |
9 | 9 |
10 #include "src/accessors.h" | 10 #include "src/accessors.h" |
(...skipping 1318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1329 | 1329 |
1330 // Building common constructs | 1330 // Building common constructs |
1331 HValue* BuildCheckForCapacityGrow(HValue* object, | 1331 HValue* BuildCheckForCapacityGrow(HValue* object, |
1332 HValue* elements, | 1332 HValue* elements, |
1333 ElementsKind kind, | 1333 ElementsKind kind, |
1334 HValue* length, | 1334 HValue* length, |
1335 HValue* key, | 1335 HValue* key, |
1336 bool is_js_array, | 1336 bool is_js_array, |
1337 PropertyAccessType access_type); | 1337 PropertyAccessType access_type); |
1338 | 1338 |
| 1339 HValue* BuildCheckAndGrowElementsCapacity(HValue* object, |
| 1340 HValue* elements, |
| 1341 ElementsKind kind, |
| 1342 HValue* length, |
| 1343 HValue* capacity, |
| 1344 HValue* key); |
| 1345 |
1339 HValue* BuildCopyElementsOnWrite(HValue* object, | 1346 HValue* BuildCopyElementsOnWrite(HValue* object, |
1340 HValue* elements, | 1347 HValue* elements, |
1341 ElementsKind kind, | 1348 ElementsKind kind, |
1342 HValue* length); | 1349 HValue* length); |
1343 | 1350 |
1344 void BuildTransitionElementsKind(HValue* object, | 1351 void BuildTransitionElementsKind(HValue* object, |
1345 HValue* map, | 1352 HValue* map, |
1346 ElementsKind from_kind, | 1353 ElementsKind from_kind, |
1347 ElementsKind to_kind, | 1354 ElementsKind to_kind, |
1348 bool is_jsarray); | 1355 bool is_jsarray); |
(...skipping 1558 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2907 } | 2914 } |
2908 | 2915 |
2909 private: | 2916 private: |
2910 HGraphBuilder* builder_; | 2917 HGraphBuilder* builder_; |
2911 }; | 2918 }; |
2912 | 2919 |
2913 | 2920 |
2914 } } // namespace v8::internal | 2921 } } // namespace v8::internal |
2915 | 2922 |
2916 #endif // V8_HYDROGEN_H_ | 2923 #endif // V8_HYDROGEN_H_ |
OLD | NEW |