Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: src/hydrogen.h

Issue 25494007: Reland "Hydrogenisation of binops" (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: rebase Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/code-stubs-hydrogen.cc ('k') | src/hydrogen.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 1269 matching lines...) Expand 10 before | Expand all | Expand 10 after
1280 HValue* right, 1280 HValue* right,
1281 HValue** operand, 1281 HValue** operand,
1282 HValue** shift_amount); 1282 HValue** shift_amount);
1283 1283
1284 HInstruction* BuildBinaryOperation(Token::Value op, 1284 HInstruction* BuildBinaryOperation(Token::Value op,
1285 HValue* left, 1285 HValue* left,
1286 HValue* right, 1286 HValue* right,
1287 Handle<Type> left_type, 1287 Handle<Type> left_type,
1288 Handle<Type> right_type, 1288 Handle<Type> right_type,
1289 Handle<Type> result_type, 1289 Handle<Type> result_type,
1290 Maybe<int> fixed_right_arg); 1290 Maybe<int> fixed_right_arg,
1291 bool binop_stub = false);
1291 1292
1292 HLoadNamedField* AddLoadFixedArrayLength(HValue *object); 1293 HLoadNamedField* AddLoadFixedArrayLength(HValue *object);
1293 1294
1294 HValue* AddLoadJSBuiltin(Builtins::JavaScript builtin); 1295 HValue* AddLoadJSBuiltin(Builtins::JavaScript builtin);
1295 1296
1296 HValue* EnforceNumberType(HValue* number, Handle<Type> expected); 1297 HValue* EnforceNumberType(HValue* number, Handle<Type> expected);
1297 HValue* TruncateToNumber(HValue* value, Handle<Type>* expected); 1298 HValue* TruncateToNumber(HValue* value, Handle<Type>* expected);
1298 1299
1299 void PushAndAdd(HInstruction* instr); 1300 void PushAndAdd(HInstruction* instr);
1300 1301
(...skipping 1172 matching lines...) Expand 10 before | Expand all | Expand 10 after
2473 } 2474 }
2474 2475
2475 private: 2476 private:
2476 HGraphBuilder* builder_; 2477 HGraphBuilder* builder_;
2477 }; 2478 };
2478 2479
2479 2480
2480 } } // namespace v8::internal 2481 } } // namespace v8::internal
2481 2482
2482 #endif // V8_HYDROGEN_H_ 2483 #endif // V8_HYDROGEN_H_
OLDNEW
« no previous file with comments | « src/code-stubs-hydrogen.cc ('k') | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698