| 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 1409 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1420 | 1420 |
| 1421 bool MatchRotateRight(HValue* left, | 1421 bool MatchRotateRight(HValue* left, |
| 1422 HValue* right, | 1422 HValue* right, |
| 1423 HValue** operand, | 1423 HValue** operand, |
| 1424 HValue** shift_amount); | 1424 HValue** shift_amount); |
| 1425 | 1425 |
| 1426 HValue* BuildBinaryOperation(Token::Value op, HValue* left, HValue* right, | 1426 HValue* BuildBinaryOperation(Token::Value op, HValue* left, HValue* right, |
| 1427 Type* left_type, Type* right_type, | 1427 Type* left_type, Type* right_type, |
| 1428 Type* result_type, Maybe<int> fixed_right_arg, | 1428 Type* result_type, Maybe<int> fixed_right_arg, |
| 1429 HAllocationMode allocation_mode, | 1429 HAllocationMode allocation_mode, |
| 1430 Strength strength, | |
| 1431 BailoutId opt_id = BailoutId::None()); | 1430 BailoutId opt_id = BailoutId::None()); |
| 1432 | 1431 |
| 1433 HLoadNamedField* AddLoadFixedArrayLength(HValue *object, | 1432 HLoadNamedField* AddLoadFixedArrayLength(HValue *object, |
| 1434 HValue *dependency = NULL); | 1433 HValue *dependency = NULL); |
| 1435 | 1434 |
| 1436 HLoadNamedField* AddLoadArrayLength(HValue *object, | 1435 HLoadNamedField* AddLoadArrayLength(HValue *object, |
| 1437 ElementsKind kind, | 1436 ElementsKind kind, |
| 1438 HValue *dependency = NULL); | 1437 HValue *dependency = NULL); |
| 1439 | 1438 |
| 1440 HValue* AddLoadJSBuiltin(int context_index); | 1439 HValue* AddLoadJSBuiltin(int context_index); |
| (...skipping 1601 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3042 | 3041 |
| 3043 private: | 3042 private: |
| 3044 HGraphBuilder* builder_; | 3043 HGraphBuilder* builder_; |
| 3045 }; | 3044 }; |
| 3046 | 3045 |
| 3047 | 3046 |
| 3048 } // namespace internal | 3047 } // namespace internal |
| 3049 } // namespace v8 | 3048 } // namespace v8 |
| 3050 | 3049 |
| 3051 #endif // V8_CRANKSHAFT_HYDROGEN_H_ | 3050 #endif // V8_CRANKSHAFT_HYDROGEN_H_ |
| OLD | NEW |