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

Unified Diff: test/cctest/test-typing-reset.cc

Issue 1394303008: Remove unused Zone argument from InitializeAstVisitor (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix cctests Created 5 years, 2 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 | « test/cctest/test-ast-expression-visitor.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/test-typing-reset.cc
diff --git a/test/cctest/test-typing-reset.cc b/test/cctest/test-typing-reset.cc
index 19539334cfade4f020baa7136e45650434909928..9102e1fca09a269414aeb6a866ddd1d436174dce 100644
--- a/test/cctest/test-typing-reset.cc
+++ b/test/cctest/test-typing-reset.cc
@@ -28,8 +28,8 @@ namespace {
class TypeSetter : public AstExpressionVisitor {
public:
- TypeSetter(Isolate* isolate, Zone* zone, FunctionLiteral* root)
- : AstExpressionVisitor(isolate, zone, root) {}
+ TypeSetter(Isolate* isolate, FunctionLiteral* root)
+ : AstExpressionVisitor(isolate, root) {}
protected:
void VisitExpression(Expression* expression) {
@@ -286,16 +286,16 @@ TEST(ResetTypingInfo) {
// Core of the test.
ZoneVector<ExpressionTypeEntry> types(handles.main_zone());
- ExpressionTypeCollector(isolate, handles.main_zone(), root, &types).Run();
+ ExpressionTypeCollector(isolate, root, &types).Run();
CheckAllSame(types, Bounds::Unbounded());
- TypeSetter(isolate, handles.main_zone(), root).Run();
+ TypeSetter(isolate, root).Run();
- ExpressionTypeCollector(isolate, handles.main_zone(), root, &types).Run();
+ ExpressionTypeCollector(isolate, root, &types).Run();
CheckAllSame(types, INT32_TYPE);
- TypingReseter(isolate, handles.main_zone(), root).Run();
+ TypingReseter(isolate, root).Run();
- ExpressionTypeCollector(isolate, handles.main_zone(), root, &types).Run();
+ ExpressionTypeCollector(isolate, root, &types).Run();
CheckAllSame(types, Bounds::Unbounded());
}
« no previous file with comments | « test/cctest/test-ast-expression-visitor.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698