| 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_CRANKSHAFT_HYDROGEN_H_ | 5 #ifndef V8_CRANKSHAFT_HYDROGEN_H_ |
| 6 #define V8_CRANKSHAFT_HYDROGEN_H_ | 6 #define V8_CRANKSHAFT_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/ast.h" | 10 #include "src/ast/ast.h" |
| (...skipping 1300 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1311 ElementsKind kind, | 1311 ElementsKind kind, |
| 1312 HValue* length); | 1312 HValue* length); |
| 1313 | 1313 |
| 1314 void BuildTransitionElementsKind(HValue* object, | 1314 void BuildTransitionElementsKind(HValue* object, |
| 1315 HValue* map, | 1315 HValue* map, |
| 1316 ElementsKind from_kind, | 1316 ElementsKind from_kind, |
| 1317 ElementsKind to_kind, | 1317 ElementsKind to_kind, |
| 1318 bool is_jsarray); | 1318 bool is_jsarray); |
| 1319 | 1319 |
| 1320 HValue* BuildNumberToString(HValue* object, Type* type); | 1320 HValue* BuildNumberToString(HValue* object, Type* type); |
| 1321 HValue* BuildToNumber(HValue* input, Type* input_type); | 1321 HValue* BuildToNumber(HValue* input); |
| 1322 HValue* BuildToObject(HValue* receiver); | 1322 HValue* BuildToObject(HValue* receiver); |
| 1323 | 1323 |
| 1324 void BuildJSObjectCheck(HValue* receiver, | 1324 void BuildJSObjectCheck(HValue* receiver, |
| 1325 int bit_field_mask); | 1325 int bit_field_mask); |
| 1326 | 1326 |
| 1327 // Checks a key value that's being used for a keyed element access context. If | 1327 // Checks a key value that's being used for a keyed element access context. If |
| 1328 // the key is a index, i.e. a smi or a number in a unique string with a cached | 1328 // the key is a index, i.e. a smi or a number in a unique string with a cached |
| 1329 // numeric value, the "true" of the continuation is joined. Otherwise, | 1329 // numeric value, the "true" of the continuation is joined. Otherwise, |
| 1330 // if the key is a name or a unique string, the "false" of the continuation is | 1330 // if the key is a name or a unique string, the "false" of the continuation is |
| 1331 // joined. Otherwise, a deoptimization is triggered. In both paths of the | 1331 // joined. Otherwise, a deoptimization is triggered. In both paths of the |
| (...skipping 1691 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3023 | 3023 |
| 3024 private: | 3024 private: |
| 3025 HGraphBuilder* builder_; | 3025 HGraphBuilder* builder_; |
| 3026 }; | 3026 }; |
| 3027 | 3027 |
| 3028 | 3028 |
| 3029 } // namespace internal | 3029 } // namespace internal |
| 3030 } // namespace v8 | 3030 } // namespace v8 |
| 3031 | 3031 |
| 3032 #endif // V8_CRANKSHAFT_HYDROGEN_H_ | 3032 #endif // V8_CRANKSHAFT_HYDROGEN_H_ |
| OLD | NEW |