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

Unified Diff: src/hydrogen-instructions.h

Issue 10825071: Use integer division in a certain case. (Closed) Base URL: http://v8.googlecode.com/svn/trunk/
Patch Set: Created 8 years, 5 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/hydrogen-instructions.h
===================================================================
--- src/hydrogen-instructions.h (revision 12214)
+++ src/hydrogen-instructions.h (working copy)
@@ -557,7 +557,10 @@
kCanBeDivByZero,
kDeoptimizeOnUndefined,
kIsArguments,
+ // This instruction truncates its inputs
kTruncatingToInt32,
+ // All other instructions will truncate this instruction's output
+ kWillTruncateToInt32,
kIsDead,
kLastFlag = kIsDead
};
@@ -665,6 +668,7 @@
return use_list_ != NULL && use_list_->tail() != NULL;
}
int UseCount() const;
+ int UseCountIgnoringInputsRequiringNone() const;
// Mark this HValue as dead and to be removed from other HValues' use lists.
void Kill();
« no previous file with comments | « AUTHORS ('k') | src/hydrogen-instructions.cc » ('j') | src/hydrogen-instructions.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698