| 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 1303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1314 ElementsKind kind, | 1314 ElementsKind kind, |
| 1315 HValue* length); | 1315 HValue* length); |
| 1316 | 1316 |
| 1317 void BuildTransitionElementsKind(HValue* object, | 1317 void BuildTransitionElementsKind(HValue* object, |
| 1318 HValue* map, | 1318 HValue* map, |
| 1319 ElementsKind from_kind, | 1319 ElementsKind from_kind, |
| 1320 ElementsKind to_kind, | 1320 ElementsKind to_kind, |
| 1321 bool is_jsarray); | 1321 bool is_jsarray); |
| 1322 | 1322 |
| 1323 HValue* BuildNumberToString(HValue* object, Type* type); | 1323 HValue* BuildNumberToString(HValue* object, Type* type); |
| 1324 HValue* BuildToNumber(HValue* input, Type* input_type); | 1324 HValue* BuildToNumber(HValue* input); |
| 1325 HValue* BuildToObject(HValue* receiver); | 1325 HValue* BuildToObject(HValue* receiver); |
| 1326 | 1326 |
| 1327 void BuildJSObjectCheck(HValue* receiver, | 1327 void BuildJSObjectCheck(HValue* receiver, |
| 1328 int bit_field_mask); | 1328 int bit_field_mask); |
| 1329 | 1329 |
| 1330 // Checks a key value that's being used for a keyed element access context. If | 1330 // Checks a key value that's being used for a keyed element access context. If |
| 1331 // the key is a index, i.e. a smi or a number in a unique string with a cached | 1331 // the key is a index, i.e. a smi or a number in a unique string with a cached |
| 1332 // numeric value, the "true" of the continuation is joined. Otherwise, | 1332 // numeric value, the "true" of the continuation is joined. Otherwise, |
| 1333 // if the key is a name or a unique string, the "false" of the continuation is | 1333 // if the key is a name or a unique string, the "false" of the continuation is |
| 1334 // joined. Otherwise, a deoptimization is triggered. In both paths of the | 1334 // joined. Otherwise, a deoptimization is triggered. In both paths of the |
| (...skipping 1695 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3030 | 3030 |
| 3031 private: | 3031 private: |
| 3032 HGraphBuilder* builder_; | 3032 HGraphBuilder* builder_; |
| 3033 }; | 3033 }; |
| 3034 | 3034 |
| 3035 | 3035 |
| 3036 } // namespace internal | 3036 } // namespace internal |
| 3037 } // namespace v8 | 3037 } // namespace v8 |
| 3038 | 3038 |
| 3039 #endif // V8_CRANKSHAFT_HYDROGEN_H_ | 3039 #endif // V8_CRANKSHAFT_HYDROGEN_H_ |
| OLD | NEW |