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 1254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1265 HValue* right, | 1265 HValue* right, |
1266 HValue** operand, | 1266 HValue** operand, |
1267 HValue** shift_amount); | 1267 HValue** shift_amount); |
1268 | 1268 |
1269 HInstruction* BuildBinaryOperation(Token::Value op, | 1269 HInstruction* BuildBinaryOperation(Token::Value op, |
1270 HValue* left, | 1270 HValue* left, |
1271 HValue* right, | 1271 HValue* right, |
1272 Handle<Type> left_type, | 1272 Handle<Type> left_type, |
1273 Handle<Type> right_type, | 1273 Handle<Type> right_type, |
1274 Handle<Type> result_type, | 1274 Handle<Type> result_type, |
1275 Maybe<int> fixed_right_arg, | 1275 Maybe<int> fixed_right_arg); |
1276 HValue* context); | |
1277 | 1276 |
1278 HLoadNamedField* AddLoadFixedArrayLength(HValue *object); | 1277 HLoadNamedField* AddLoadFixedArrayLength(HValue *object); |
1279 | 1278 |
1280 HValue* AddLoadJSBuiltin(Builtins::JavaScript builtin); | 1279 HValue* AddLoadJSBuiltin(Builtins::JavaScript builtin); |
1281 | 1280 |
1282 HValue* EnforceNumberType(HValue* number, Handle<Type> expected); | 1281 HValue* EnforceNumberType(HValue* number, Handle<Type> expected); |
1283 HValue* TruncateToNumber(HValue* value, Handle<Type>* expected); | 1282 HValue* TruncateToNumber(HValue* value, Handle<Type>* expected); |
1284 | 1283 |
1285 void PushAndAdd(HInstruction* instr); | 1284 void PushAndAdd(HInstruction* instr); |
1286 | 1285 |
(...skipping 1093 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2380 } | 2379 } |
2381 | 2380 |
2382 private: | 2381 private: |
2383 HGraphBuilder* builder_; | 2382 HGraphBuilder* builder_; |
2384 }; | 2383 }; |
2385 | 2384 |
2386 | 2385 |
2387 } } // namespace v8::internal | 2386 } } // namespace v8::internal |
2388 | 2387 |
2389 #endif // V8_HYDROGEN_H_ | 2388 #endif // V8_HYDROGEN_H_ |
OLD | NEW |