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

Unified Diff: src/compiler/typer.cc

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/ast.h ('k') | src/effects.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/typer.cc
diff --git a/src/compiler/typer.cc b/src/compiler/typer.cc
index a6c69bbd2e9810b2755d8ea6eb03aa05f57ab3a0..778d96fb0732867a766c2988482f311e1afb8ded 100644
--- a/src/compiler/typer.cc
+++ b/src/compiler/typer.cc
@@ -483,7 +483,7 @@ Bounds Typer::Visitor::TypeStart(Node* node) {
Bounds Typer::Visitor::TypeIfException(Node* node) {
- return Bounds::Unbounded(zone());
+ return Bounds::Unbounded();
}
@@ -497,12 +497,12 @@ Bounds Typer::Visitor::TypeParameter(Node* node) {
return Bounds(Type::None(), function_type->Parameter(index));
}
}
- return Bounds::Unbounded(zone());
+ return Bounds::Unbounded();
}
Bounds Typer::Visitor::TypeOsrValue(Node* node) {
- return Bounds::Unbounded(zone());
+ return Bounds::Unbounded();
}
@@ -605,18 +605,18 @@ Bounds Typer::Visitor::TypeTypedStateValues(Node* node) {
Bounds Typer::Visitor::TypeCall(Node* node) {
- return Bounds::Unbounded(zone());
+ return Bounds::Unbounded();
}
Bounds Typer::Visitor::TypeProjection(Node* node) {
// TODO(titzer): use the output type of the input to determine the bounds.
- return Bounds::Unbounded(zone());
+ return Bounds::Unbounded();
}
Bounds Typer::Visitor::TypeDead(Node* node) {
- return Bounds::Unbounded(zone());
+ return Bounds::Unbounded();
}
@@ -1204,12 +1204,12 @@ Bounds Typer::Visitor::TypeJSLoadProperty(Node* node) {
Bounds Typer::Visitor::TypeJSLoadNamed(Node* node) {
- return Bounds::Unbounded(zone());
+ return Bounds::Unbounded();
}
Bounds Typer::Visitor::TypeJSLoadGlobal(Node* node) {
- return Bounds::Unbounded(zone());
+ return Bounds::Unbounded();
}
@@ -1377,12 +1377,12 @@ Bounds Typer::Visitor::TypeJSStoreContext(Node* node) {
Bounds Typer::Visitor::TypeJSLoadDynamicGlobal(Node* node) {
- return Bounds::Unbounded(zone());
+ return Bounds::Unbounded();
}
Bounds Typer::Visitor::TypeJSLoadDynamicContext(Node* node) {
- return Bounds::Unbounded(zone());
+ return Bounds::Unbounded();
}
@@ -1432,7 +1432,7 @@ Bounds Typer::Visitor::TypeJSCreateScriptContext(Node* node) {
Bounds Typer::Visitor::TypeJSYield(Node* node) {
- return Bounds::Unbounded(zone());
+ return Bounds::Unbounded();
}
@@ -1483,7 +1483,7 @@ Bounds Typer::Visitor::TypeJSCallRuntime(Node* node) {
default:
break;
}
- return Bounds::Unbounded(zone());
+ return Bounds::Unbounded();
}
@@ -1495,7 +1495,7 @@ Bounds Typer::Visitor::TypeJSForInNext(Node* node) {
Bounds Typer::Visitor::TypeJSForInPrepare(Node* node) {
// TODO(bmeurer): Return a tuple type here.
- return Bounds::Unbounded(zone());
+ return Bounds::Unbounded();
}
@@ -1512,7 +1512,7 @@ Bounds Typer::Visitor::TypeJSForInStep(Node* node) {
Bounds Typer::Visitor::TypeJSStackCheck(Node* node) {
- return Bounds::Unbounded(zone());
+ return Bounds::Unbounded();
}
@@ -1764,7 +1764,7 @@ Bounds Typer::Visitor::TypeObjectIsNonNegativeSmi(Node* node) {
// Machine operators.
Bounds Typer::Visitor::TypeLoad(Node* node) {
- return Bounds::Unbounded(zone());
+ return Bounds::Unbounded();
}
@@ -2213,7 +2213,7 @@ Bounds Typer::Visitor::TypeLoadFramePointer(Node* node) {
Bounds Typer::Visitor::TypeCheckedLoad(Node* node) {
- return Bounds::Unbounded(zone());
+ return Bounds::Unbounded();
}
« no previous file with comments | « src/ast.h ('k') | src/effects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698