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

Unified Diff: src/effects.h

Issue 1322003002: Drop region parameter to Unbounded, as it can be done without. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 4 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
« no previous file with comments | « src/compiler/typer.cc ('k') | src/types.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/effects.h
diff --git a/src/effects.h b/src/effects.h
index e18baeafd6f47ee2b4bcb2e1b9895602661ee653..8d539f64bd8f64d11032353c6d8365a320c70446 100644
--- a/src/effects.h
+++ b/src/effects.h
@@ -35,11 +35,11 @@ struct Effect {
// The unknown effect.
static Effect Unknown(Zone* zone) {
- return Effect(Bounds::Unbounded(zone), POSSIBLE);
+ return Effect(Bounds::Unbounded(), POSSIBLE);
}
static Effect Forget(Zone* zone) {
- return Effect(Bounds::Unbounded(zone), DEFINITE);
+ return Effect(Bounds::Unbounded(), DEFINITE);
}
// Sequential composition, as in 'e1; e2'.
@@ -87,7 +87,7 @@ class EffectsMixin: public Base {
Bounds LookupBounds(Var var) {
Effect effect = Lookup(var);
return effect.modality == Effect::DEFINITE
- ? effect.bounds : Bounds::Unbounded(Base::zone());
+ ? effect.bounds : Bounds::Unbounded();
}
// Sequential composition.
« no previous file with comments | « src/compiler/typer.cc ('k') | src/types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698