| 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 1411 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1422 HLoadNamedField* AddLoadMap(HValue* object, | 1422 HLoadNamedField* AddLoadMap(HValue* object, |
| 1423 HValue* dependency = NULL); | 1423 HValue* dependency = NULL); |
| 1424 HLoadNamedField* AddLoadElements(HValue* object, | 1424 HLoadNamedField* AddLoadElements(HValue* object, |
| 1425 HValue* dependency = NULL); | 1425 HValue* dependency = NULL); |
| 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, | 1432 HValue* BuildBinaryOperation(Token::Value op, HValue* left, HValue* right, |
| 1433 HValue* left, | 1433 Type* left_type, Type* right_type, |
| 1434 HValue* right, | 1434 Type* result_type, Maybe<int> fixed_right_arg, |
| 1435 Type* left_type, | |
| 1436 Type* right_type, | |
| 1437 Type* result_type, | |
| 1438 Maybe<int> fixed_right_arg, | |
| 1439 HAllocationMode allocation_mode, | 1435 HAllocationMode allocation_mode, |
| 1440 LanguageMode language_mode); | 1436 Strength strength); |
| 1441 | 1437 |
| 1442 HLoadNamedField* AddLoadFixedArrayLength(HValue *object, | 1438 HLoadNamedField* AddLoadFixedArrayLength(HValue *object, |
| 1443 HValue *dependency = NULL); | 1439 HValue *dependency = NULL); |
| 1444 | 1440 |
| 1445 HLoadNamedField* AddLoadArrayLength(HValue *object, | 1441 HLoadNamedField* AddLoadArrayLength(HValue *object, |
| 1446 ElementsKind kind, | 1442 ElementsKind kind, |
| 1447 HValue *dependency = NULL); | 1443 HValue *dependency = NULL); |
| 1448 | 1444 |
| 1449 HValue* AddLoadJSBuiltin(Builtins::JavaScript builtin); | 1445 HValue* AddLoadJSBuiltin(Builtins::JavaScript builtin); |
| 1450 | 1446 |
| (...skipping 1596 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3047 } | 3043 } |
| 3048 | 3044 |
| 3049 private: | 3045 private: |
| 3050 HGraphBuilder* builder_; | 3046 HGraphBuilder* builder_; |
| 3051 }; | 3047 }; |
| 3052 | 3048 |
| 3053 | 3049 |
| 3054 } } // namespace v8::internal | 3050 } } // namespace v8::internal |
| 3055 | 3051 |
| 3056 #endif // V8_HYDROGEN_H_ | 3052 #endif // V8_HYDROGEN_H_ |
| OLD | NEW |