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

Side by Side Diff: src/compiler.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 unified diff | Download patch
« no previous file with comments | « src/codegen.cc ('k') | src/compiler/ast-graph-builder.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/compiler.h" 5 #include "src/compiler.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "src/ast-numbering.h" 9 #include "src/ast-numbering.h"
10 #include "src/bootstrapper.h" 10 #include "src/bootstrapper.h"
(...skipping 1781 matching lines...) Expand 10 before | Expand all | Expand 10 after
1792 ? FLAG_trace_hydrogen_stubs 1792 ? FLAG_trace_hydrogen_stubs
1793 : (FLAG_trace_hydrogen && 1793 : (FLAG_trace_hydrogen &&
1794 info()->closure()->PassesFilter(FLAG_trace_hydrogen_filter)); 1794 info()->closure()->PassesFilter(FLAG_trace_hydrogen_filter));
1795 return (tracing_on && 1795 return (tracing_on &&
1796 base::OS::StrChr(const_cast<char*>(FLAG_trace_phase), name_[0]) != NULL); 1796 base::OS::StrChr(const_cast<char*>(FLAG_trace_phase), name_[0]) != NULL);
1797 } 1797 }
1798 1798
1799 #if DEBUG 1799 #if DEBUG
1800 void CompilationInfo::PrintAstForTesting() { 1800 void CompilationInfo::PrintAstForTesting() {
1801 PrintF("--- Source from AST ---\n%s\n", 1801 PrintF("--- Source from AST ---\n%s\n",
1802 PrettyPrinter(isolate(), zone()).PrintProgram(literal())); 1802 PrettyPrinter(isolate()).PrintProgram(literal()));
1803 } 1803 }
1804 #endif 1804 #endif
1805 } // namespace internal 1805 } // namespace internal
1806 } // namespace v8 1806 } // namespace v8
OLDNEW
« no previous file with comments | « src/codegen.cc ('k') | src/compiler/ast-graph-builder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698