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