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 1415 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1426 | 1426 |
1427 bool MatchRotateRight(HValue* left, | 1427 bool MatchRotateRight(HValue* left, |
1428 HValue* right, | 1428 HValue* right, |
1429 HValue** operand, | 1429 HValue** operand, |
1430 HValue** shift_amount); | 1430 HValue** shift_amount); |
1431 | 1431 |
1432 HValue* BuildBinaryOperation(Token::Value op, HValue* left, HValue* right, | 1432 HValue* BuildBinaryOperation(Token::Value op, HValue* left, HValue* right, |
1433 Type* left_type, Type* right_type, | 1433 Type* left_type, Type* right_type, |
1434 Type* result_type, Maybe<int> fixed_right_arg, | 1434 Type* result_type, Maybe<int> fixed_right_arg, |
1435 HAllocationMode allocation_mode, | 1435 HAllocationMode allocation_mode, |
1436 Strength strength); | 1436 Strength strength, |
| 1437 BailoutId opt_id = BailoutId::None()); |
1437 | 1438 |
1438 HLoadNamedField* AddLoadFixedArrayLength(HValue *object, | 1439 HLoadNamedField* AddLoadFixedArrayLength(HValue *object, |
1439 HValue *dependency = NULL); | 1440 HValue *dependency = NULL); |
1440 | 1441 |
1441 HLoadNamedField* AddLoadArrayLength(HValue *object, | 1442 HLoadNamedField* AddLoadArrayLength(HValue *object, |
1442 ElementsKind kind, | 1443 ElementsKind kind, |
1443 HValue *dependency = NULL); | 1444 HValue *dependency = NULL); |
1444 | 1445 |
1445 HValue* AddLoadJSBuiltin(Builtins::JavaScript builtin); | 1446 HValue* AddLoadJSBuiltin(Builtins::JavaScript builtin); |
1446 | 1447 |
(...skipping 1601 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3048 } | 3049 } |
3049 | 3050 |
3050 private: | 3051 private: |
3051 HGraphBuilder* builder_; | 3052 HGraphBuilder* builder_; |
3052 }; | 3053 }; |
3053 | 3054 |
3054 | 3055 |
3055 } } // namespace v8::internal | 3056 } } // namespace v8::internal |
3056 | 3057 |
3057 #endif // V8_HYDROGEN_H_ | 3058 #endif // V8_HYDROGEN_H_ |
OLD | NEW |