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

Side by Side Diff: src/hydrogen.h

Issue 104243002: Revert "Use constant types to represent the fixed right arg of a MOD." (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years 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 1333 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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_
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