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 1314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1325 | 1325 |
1326 // Building common constructs | 1326 // Building common constructs |
1327 HValue* BuildCheckForCapacityGrow(HValue* object, | 1327 HValue* BuildCheckForCapacityGrow(HValue* object, |
1328 HValue* elements, | 1328 HValue* elements, |
1329 ElementsKind kind, | 1329 ElementsKind kind, |
1330 HValue* length, | 1330 HValue* length, |
1331 HValue* key, | 1331 HValue* key, |
1332 bool is_js_array, | 1332 bool is_js_array, |
1333 PropertyAccessType access_type); | 1333 PropertyAccessType access_type); |
1334 | 1334 |
| 1335 HValue* BuildCheckAndGrowElementsCapacity(HValue* object, |
| 1336 HValue* elements, |
| 1337 ElementsKind kind, |
| 1338 HValue* length, |
| 1339 HValue* capacity, |
| 1340 HValue* key); |
| 1341 |
1335 HValue* BuildCopyElementsOnWrite(HValue* object, | 1342 HValue* BuildCopyElementsOnWrite(HValue* object, |
1336 HValue* elements, | 1343 HValue* elements, |
1337 ElementsKind kind, | 1344 ElementsKind kind, |
1338 HValue* length); | 1345 HValue* length); |
1339 | 1346 |
1340 void BuildTransitionElementsKind(HValue* object, | 1347 void BuildTransitionElementsKind(HValue* object, |
1341 HValue* map, | 1348 HValue* map, |
1342 ElementsKind from_kind, | 1349 ElementsKind from_kind, |
1343 ElementsKind to_kind, | 1350 ElementsKind to_kind, |
1344 bool is_jsarray); | 1351 bool is_jsarray); |
(...skipping 1549 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2894 } | 2901 } |
2895 | 2902 |
2896 private: | 2903 private: |
2897 HGraphBuilder* builder_; | 2904 HGraphBuilder* builder_; |
2898 }; | 2905 }; |
2899 | 2906 |
2900 | 2907 |
2901 } } // namespace v8::internal | 2908 } } // namespace v8::internal |
2902 | 2909 |
2903 #endif // V8_HYDROGEN_H_ | 2910 #endif // V8_HYDROGEN_H_ |
OLD | NEW |