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

Unified Diff: src/ia32/lithium-ia32.h

Issue 9638018: [v8-dev] Optimise Math.floor(x/y) to use integer division for specific divisor.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 8 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: src/ia32/lithium-ia32.h
===================================================================
--- src/ia32/lithium-ia32.h (revision 10969)
+++ src/ia32/lithium-ia32.h (working copy)
@@ -2341,6 +2341,15 @@
HYDROGEN_CONCRETE_INSTRUCTION_LIST(DECLARE_DO)
#undef DECLARE_DO
+ static bool SupportsMathFloorOfDiv() { return false; }
fschneider 2012/03/28 09:59:18 I'd add those function only when we add this optim
Alexandre 2012/03/28 16:27:38 Done.
+ static bool HasMagicNumberForDivisor(int32_t divisor) { return false; }
+ static HValue* SimplifiedDividendForMathFloorOfDiv(HValue* val) {
+ return NULL;
+ }
+ static HValue* SimplifiedDivisorForMathFloorOfDiv(HValue* val) {
+ return NULL;
+ }
+
private:
enum Status {
UNUSED,

Powered by Google App Engine
This is Rietveld 408576698