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

Unified Diff: src/hydrogen-instructions.h

Issue 10411016: Fix for issue 2132. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 7 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
diff --git a/src/hydrogen-instructions.h b/src/hydrogen-instructions.h
index 9d262fc811724c985c6ddc96697c218e6daab976..872e2b7f34e14630bc0f77f92c44eabb0190b527 100644
--- a/src/hydrogen-instructions.h
+++ b/src/hydrogen-instructions.h
@@ -542,6 +542,10 @@ class HValue: public ZoneObject {
// sets this flag, it must implement SetSideEffectDominator() and should
// indicate which side effects to track by setting GVN flags.
kTrackSideEffectDominators,
+ // This flag must be set if a phase before range analysis adds range
+ // information, so that range analysis can still assert that it cannot
+ // be run twice on any HValue.
+ kHasPreinitializedRange,
kCanOverflow,
kBailoutOnMinusZero,
kCanBeDivByZero,
@@ -712,6 +716,7 @@ class HValue: public ZoneObject {
void AddNewRange(Range* r, Zone* zone);
void RemoveLastAddedRange();
void ComputeInitialRange(Zone* zone);
+ void PreinitializeRange(Zone* zone);
// Representation helpers.
virtual Representation RequiredInputRepresentation(int index) = 0;

Powered by Google App Engine
This is Rietveld 408576698