From 931ac008bb5ff709d3d58e88bb5a432c4faf644d Mon Sep 17 00:00:00 2001 From: "georgia.kouveli" Date: Wed, 17 Aug 2016 10:42:43 -0700 Subject: [PATCH] Fix uninitialized member (isolate_) in AstPrinter. BUG= Review-Url: https://codereview.chromium.org/2245323005 Cr-Commit-Position: refs/heads/master@{#38690} --- src/ast/prettyprinter.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ast/prettyprinter.cc b/src/ast/prettyprinter.cc index b94f0951ce..2e153cf059 100644 --- a/src/ast/prettyprinter.cc +++ b/src/ast/prettyprinter.cc @@ -596,7 +596,7 @@ class IndentedScope BASE_EMBEDDED { //----------------------------------------------------------------------------- AstPrinter::AstPrinter(Isolate* isolate) - : output_(nullptr), size_(0), pos_(0), indent_(0) { + : isolate_(isolate), output_(nullptr), size_(0), pos_(0), indent_(0) { InitializeAstVisitor(isolate); }