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

Side by Side Diff: src/compiler/control-reducer.h

Issue 661923002: Implement graph trimming in ControlReducer. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Use Deque. Created 6 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 | Annotate | Revision Log
« no previous file with comments | « BUILD.gn ('k') | src/compiler/control-reducer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2014 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef V8_COMPILER_CONTROL_REDUCER_H_
6 #define V8_COMPILER_CONTROL_REDUCER_H_
7
8 namespace v8 {
9 namespace internal {
10 namespace compiler {
11
12 class JSGraph;
13 class CommonOperatorBuilder;
14
15 class ControlReducer {
16 public:
17 // Perform branch folding and dead code elimination on the graph.
18 static void ReduceGraph(JSGraph* graph, CommonOperatorBuilder* builder);
19
20 // Trim nodes in the graph that are not reachable from end.
21 static void TrimGraph(JSGraph* graph);
22 };
23 }
24 }
25 } // namespace v8::internal::compiler
26
27 #endif // V8_COMPILER_CONTROL_REDUCER_H_
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | src/compiler/control-reducer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698