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

Unified Diff: src/ast-numbering.cc

Issue 868883002: Remove the dependency of Zone on Isolate (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix compilation issues Created 5 years, 11 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-numbering.h ('k') | src/ast-this-access-visitor.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ast-numbering.cc
diff --git a/src/ast-numbering.cc b/src/ast-numbering.cc
index d9882ae672c5298e19b5b23e64ec93a99477c8bc..fd74b2e700af424ca554e088b49a964b805a6454 100644
--- a/src/ast-numbering.cc
+++ b/src/ast-numbering.cc
@@ -15,11 +15,11 @@ namespace internal {
class AstNumberingVisitor FINAL : public AstVisitor {
public:
- explicit AstNumberingVisitor(Zone* zone)
+ explicit AstNumberingVisitor(Isolate* isolate, Zone* zone)
: AstVisitor(),
next_id_(BailoutId::FirstUsable().ToInt()),
dont_optimize_reason_(kNoReason) {
- InitializeAstVisitor(zone);
+ InitializeAstVisitor(isolate, zone);
}
bool Renumber(FunctionLiteral* node);
@@ -559,8 +559,9 @@ bool AstNumberingVisitor::Renumber(FunctionLiteral* node) {
}
-bool AstNumbering::Renumber(FunctionLiteral* function, Zone* zone) {
- AstNumberingVisitor visitor(zone);
+bool AstNumbering::Renumber(Isolate* isolate, Zone* zone,
+ FunctionLiteral* function) {
+ AstNumberingVisitor visitor(isolate, zone);
return visitor.Renumber(function);
}
}
« no previous file with comments | « src/ast-numbering.h ('k') | src/ast-this-access-visitor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698