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

Unified Diff: test/unittests/compiler/escape-analysis-unittest.cc

Issue 2797993006: [turbofan] Add type to the allocation operator. (Closed)
Patch Set: Remove caching Created 3 years, 8 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') | test/unittests/compiler/load-elimination-unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/unittests/compiler/escape-analysis-unittest.cc
diff --git a/test/unittests/compiler/escape-analysis-unittest.cc b/test/unittests/compiler/escape-analysis-unittest.cc
index 8ad93eee6afb22d284a89a9339a200f4fd55f8b7..55c0f42fe1e54d706c0b7d843a17178f030e0a47 100644
--- a/test/unittests/compiler/escape-analysis-unittest.cc
+++ b/test/unittests/compiler/escape-analysis-unittest.cc
@@ -66,8 +66,8 @@ class EscapeAnalysisTest : public TypedGraphTest {
if (!control) {
control = control_;
}
- return effect_ = graph()->NewNode(simplified()->Allocate(), size, effect,
- control);
+ return effect_ = graph()->NewNode(simplified()->Allocate(Type::Any()), size,
+ effect, control);
}
Node* Constant(int num) {
« no previous file with comments | « src/compiler/typer.cc ('k') | test/unittests/compiler/load-elimination-unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698