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 1418 matching lines...) Loading... |
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, |
1433 HValue* left, | 1433 HValue* left, |
1434 HValue* right, | 1434 HValue* right, |
1435 Type* left_type, | 1435 Type* left_type, |
1436 Type* right_type, | 1436 Type* right_type, |
1437 Type* result_type, | 1437 Type* result_type, |
1438 Maybe<int> fixed_right_arg, | 1438 Maybe<int> fixed_right_arg, |
1439 HAllocationMode allocation_mode); | 1439 HAllocationMode allocation_mode, |
| 1440 LanguageMode language_mode = SLOPPY); |
1440 | 1441 |
1441 HLoadNamedField* AddLoadFixedArrayLength(HValue *object, | 1442 HLoadNamedField* AddLoadFixedArrayLength(HValue *object, |
1442 HValue *dependency = NULL); | 1443 HValue *dependency = NULL); |
1443 | 1444 |
1444 HLoadNamedField* AddLoadArrayLength(HValue *object, | 1445 HLoadNamedField* AddLoadArrayLength(HValue *object, |
1445 ElementsKind kind, | 1446 ElementsKind kind, |
1446 HValue *dependency = NULL); | 1447 HValue *dependency = NULL); |
1447 | 1448 |
1448 HValue* AddLoadJSBuiltin(Builtins::JavaScript builtin); | 1449 HValue* AddLoadJSBuiltin(Builtins::JavaScript builtin); |
1449 | 1450 |
(...skipping 1586 matching lines...) Loading... |
3036 } | 3037 } |
3037 | 3038 |
3038 private: | 3039 private: |
3039 HGraphBuilder* builder_; | 3040 HGraphBuilder* builder_; |
3040 }; | 3041 }; |
3041 | 3042 |
3042 | 3043 |
3043 } } // namespace v8::internal | 3044 } } // namespace v8::internal |
3044 | 3045 |
3045 #endif // V8_HYDROGEN_H_ | 3046 #endif // V8_HYDROGEN_H_ |
OLD | NEW |