OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 1333 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1344 bool MatchRotateRight(HValue* left, | 1344 bool MatchRotateRight(HValue* left, |
1345 HValue* right, | 1345 HValue* right, |
1346 HValue** operand, | 1346 HValue** operand, |
1347 HValue** shift_amount); | 1347 HValue** shift_amount); |
1348 | 1348 |
1349 HValue* BuildBinaryOperation(Token::Value op, | 1349 HValue* BuildBinaryOperation(Token::Value op, |
1350 HValue* left, | 1350 HValue* left, |
1351 HValue* right, | 1351 HValue* right, |
1352 Handle<Type> left_type, | 1352 Handle<Type> left_type, |
1353 Handle<Type> right_type, | 1353 Handle<Type> right_type, |
1354 Handle<Type> result_type); | 1354 Handle<Type> result_type, |
| 1355 Maybe<int> fixed_right_arg); |
1355 | 1356 |
1356 HLoadNamedField* AddLoadFixedArrayLength(HValue *object); | 1357 HLoadNamedField* AddLoadFixedArrayLength(HValue *object); |
1357 | 1358 |
1358 HValue* AddLoadJSBuiltin(Builtins::JavaScript builtin); | 1359 HValue* AddLoadJSBuiltin(Builtins::JavaScript builtin); |
1359 | 1360 |
1360 HValue* EnforceNumberType(HValue* number, Handle<Type> expected); | 1361 HValue* EnforceNumberType(HValue* number, Handle<Type> expected); |
1361 HValue* TruncateToNumber(HValue* value, Handle<Type>* expected); | 1362 HValue* TruncateToNumber(HValue* value, Handle<Type>* expected); |
1362 | 1363 |
1363 void FinishExitWithHardDeoptimization(const char* reason, | 1364 void FinishExitWithHardDeoptimization(const char* reason, |
1364 HBasicBlock* continuation); | 1365 HBasicBlock* continuation); |
(...skipping 1264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2629 } | 2630 } |
2630 | 2631 |
2631 private: | 2632 private: |
2632 HGraphBuilder* builder_; | 2633 HGraphBuilder* builder_; |
2633 }; | 2634 }; |
2634 | 2635 |
2635 | 2636 |
2636 } } // namespace v8::internal | 2637 } } // namespace v8::internal |
2637 | 2638 |
2638 #endif // V8_HYDROGEN_H_ | 2639 #endif // V8_HYDROGEN_H_ |
OLD | NEW |