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

Unified Diff: src/full-codegen/full-codegen.cc

Issue 2142233003: Templatize AstVisitor with its subclass (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 5 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/full-codegen/full-codegen.cc
diff --git a/src/full-codegen/full-codegen.cc b/src/full-codegen/full-codegen.cc
index a6d14f72e219cd07bae064091e316c42c0864e85..330a1c556db7becdda68ce6ef7f9c4bb9f254345 100644
--- a/src/full-codegen/full-codegen.cc
+++ b/src/full-codegen/full-codegen.cc
@@ -389,7 +389,7 @@ void FullCodeGenerator::VisitDeclarations(
ZoneList<Handle<Object> > inner_globals(10, zone());
globals_ = &inner_globals;
- AstVisitor::VisitDeclarations(declarations);
+ AstVisitor<FullCodeGenerator>::VisitDeclarations(declarations);
if (!globals_->is_empty()) {
// Invoke the platform-dependent code generator to do the actual

Powered by Google App Engine
This is Rietveld 408576698