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

Side by Side Diff: src/hydrogen.h

Issue 83073003: Get rid of the binop_stub parameter to BuildBinaryOperation(). (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 1 month 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 1327 matching lines...) Expand 10 before | Expand all | Expand 10 after
1338 HValue* right, 1338 HValue* right,
1339 HValue** operand, 1339 HValue** operand,
1340 HValue** shift_amount); 1340 HValue** shift_amount);
1341 1341
1342 HValue* BuildBinaryOperation(Token::Value op, 1342 HValue* BuildBinaryOperation(Token::Value op,
1343 HValue* left, 1343 HValue* left,
1344 HValue* right, 1344 HValue* right,
1345 Handle<Type> left_type, 1345 Handle<Type> left_type,
1346 Handle<Type> right_type, 1346 Handle<Type> right_type,
1347 Handle<Type> result_type, 1347 Handle<Type> result_type,
1348 Maybe<int> fixed_right_arg, 1348 Maybe<int> fixed_right_arg);
1349 bool binop_stub = false);
1350 1349
1351 HLoadNamedField* AddLoadFixedArrayLength(HValue *object); 1350 HLoadNamedField* AddLoadFixedArrayLength(HValue *object);
1352 1351
1353 HValue* AddLoadJSBuiltin(Builtins::JavaScript builtin); 1352 HValue* AddLoadJSBuiltin(Builtins::JavaScript builtin);
1354 1353
1355 HValue* EnforceNumberType(HValue* number, Handle<Type> expected); 1354 HValue* EnforceNumberType(HValue* number, Handle<Type> expected);
1356 HValue* TruncateToNumber(HValue* value, Handle<Type>* expected); 1355 HValue* TruncateToNumber(HValue* value, Handle<Type>* expected);
1357 1356
1358 void FinishExitWithHardDeoptimization(const char* reason, 1357 void FinishExitWithHardDeoptimization(const char* reason,
1359 HBasicBlock* continuation); 1358 HBasicBlock* continuation);
(...skipping 1218 matching lines...) Expand 10 before | Expand all | Expand 10 after
2578 } 2577 }
2579 2578
2580 private: 2579 private:
2581 HGraphBuilder* builder_; 2580 HGraphBuilder* builder_;
2582 }; 2581 };
2583 2582
2584 2583
2585 } } // namespace v8::internal 2584 } } // namespace v8::internal
2586 2585
2587 #endif // V8_HYDROGEN_H_ 2586 #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