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 1298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1309 | 1309 |
1310 // Building common constructs | 1310 // Building common constructs |
1311 HValue* BuildCheckForCapacityGrow(HValue* object, | 1311 HValue* BuildCheckForCapacityGrow(HValue* object, |
1312 HValue* elements, | 1312 HValue* elements, |
1313 ElementsKind kind, | 1313 ElementsKind kind, |
1314 HValue* length, | 1314 HValue* length, |
1315 HValue* key, | 1315 HValue* key, |
1316 bool is_js_array, | 1316 bool is_js_array, |
1317 PropertyAccessType access_type); | 1317 PropertyAccessType access_type); |
1318 | 1318 |
| 1319 HValue* BuildCheckAndGrowElementsCapacity(HValue* object, HValue* elements, |
| 1320 ElementsKind kind, HValue* length, |
| 1321 HValue* capacity, HValue* key); |
| 1322 |
1319 HValue* BuildCopyElementsOnWrite(HValue* object, | 1323 HValue* BuildCopyElementsOnWrite(HValue* object, |
1320 HValue* elements, | 1324 HValue* elements, |
1321 ElementsKind kind, | 1325 ElementsKind kind, |
1322 HValue* length); | 1326 HValue* length); |
1323 | 1327 |
1324 void BuildTransitionElementsKind(HValue* object, | 1328 void BuildTransitionElementsKind(HValue* object, |
1325 HValue* map, | 1329 HValue* map, |
1326 ElementsKind from_kind, | 1330 ElementsKind from_kind, |
1327 ElementsKind to_kind, | 1331 ElementsKind to_kind, |
1328 bool is_jsarray); | 1332 bool is_jsarray); |
(...skipping 1719 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3048 } | 3052 } |
3049 | 3053 |
3050 private: | 3054 private: |
3051 HGraphBuilder* builder_; | 3055 HGraphBuilder* builder_; |
3052 }; | 3056 }; |
3053 | 3057 |
3054 | 3058 |
3055 } } // namespace v8::internal | 3059 } } // namespace v8::internal |
3056 | 3060 |
3057 #endif // V8_HYDROGEN_H_ | 3061 #endif // V8_HYDROGEN_H_ |
OLD | NEW |