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 1273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1284 HValue* right, | 1284 HValue* right, |
1285 HValue** operand, | 1285 HValue** operand, |
1286 HValue** shift_amount); | 1286 HValue** shift_amount); |
1287 | 1287 |
1288 HInstruction* BuildBinaryOperation(Token::Value op, | 1288 HInstruction* BuildBinaryOperation(Token::Value op, |
1289 HValue* left, | 1289 HValue* left, |
1290 HValue* right, | 1290 HValue* right, |
1291 Handle<Type> left_type, | 1291 Handle<Type> left_type, |
1292 Handle<Type> right_type, | 1292 Handle<Type> right_type, |
1293 Handle<Type> result_type, | 1293 Handle<Type> result_type, |
1294 Maybe<int> fixed_right_arg); | 1294 Maybe<int> fixed_right_arg, |
| 1295 bool binop_stub = false); |
1295 | 1296 |
1296 HLoadNamedField* AddLoadFixedArrayLength(HValue *object); | 1297 HLoadNamedField* AddLoadFixedArrayLength(HValue *object); |
1297 | 1298 |
1298 HValue* AddLoadJSBuiltin(Builtins::JavaScript builtin); | 1299 HValue* AddLoadJSBuiltin(Builtins::JavaScript builtin); |
1299 | 1300 |
1300 HValue* EnforceNumberType(HValue* number, Handle<Type> expected); | 1301 HValue* EnforceNumberType(HValue* number, Handle<Type> expected); |
1301 HValue* TruncateToNumber(HValue* value, Handle<Type>* expected); | 1302 HValue* TruncateToNumber(HValue* value, Handle<Type>* expected); |
1302 | 1303 |
1303 void PushAndAdd(HInstruction* instr); | 1304 void PushAndAdd(HInstruction* instr); |
1304 | 1305 |
(...skipping 1148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2453 } | 2454 } |
2454 | 2455 |
2455 private: | 2456 private: |
2456 HGraphBuilder* builder_; | 2457 HGraphBuilder* builder_; |
2457 }; | 2458 }; |
2458 | 2459 |
2459 | 2460 |
2460 } } // namespace v8::internal | 2461 } } // namespace v8::internal |
2461 | 2462 |
2462 #endif // V8_HYDROGEN_H_ | 2463 #endif // V8_HYDROGEN_H_ |
OLD | NEW |