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

Side by Side Diff: src/compiler/escape-analysis-reducer.h

Issue 1577273002: [turbofan] Fix double reduce in escape analysis (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@hash-maps
Patch Set: Created 4 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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 #ifndef V8_COMPILER_ESCAPE_ANALYSIS_REDUCER_H_ 5 #ifndef V8_COMPILER_ESCAPE_ANALYSIS_REDUCER_H_
6 #define V8_COMPILER_ESCAPE_ANALYSIS_REDUCER_H_ 6 #define V8_COMPILER_ESCAPE_ANALYSIS_REDUCER_H_
7 7
8 #include "src/bit-vector.h"
8 #include "src/compiler/escape-analysis.h" 9 #include "src/compiler/escape-analysis.h"
9 #include "src/compiler/graph-reducer.h" 10 #include "src/compiler/graph-reducer.h"
10 11
12
11 namespace v8 { 13 namespace v8 {
12 namespace internal { 14 namespace internal {
13 15
14 // Forward declarations. 16 // Forward declarations.
15 class Counters; 17 class Counters;
16 18
17 19
18 namespace compiler { 20 namespace compiler {
19 21
20 // Forward declarations. 22 // Forward declarations.
(...skipping 21 matching lines...) Expand all
42 bool multiple_users); 44 bool multiple_users);
43 45
44 JSGraph* jsgraph() const { return jsgraph_; } 46 JSGraph* jsgraph() const { return jsgraph_; }
45 EscapeAnalysis* escape_analysis() const { return escape_analysis_; } 47 EscapeAnalysis* escape_analysis() const { return escape_analysis_; }
46 Zone* zone() const { return zone_; } 48 Zone* zone() const { return zone_; }
47 Counters* counters() const; 49 Counters* counters() const;
48 50
49 JSGraph* const jsgraph_; 51 JSGraph* const jsgraph_;
50 EscapeAnalysis* escape_analysis_; 52 EscapeAnalysis* escape_analysis_;
51 Zone* const zone_; 53 Zone* const zone_;
54 BitVector visited_;
52 55
53 DISALLOW_COPY_AND_ASSIGN(EscapeAnalysisReducer); 56 DISALLOW_COPY_AND_ASSIGN(EscapeAnalysisReducer);
54 }; 57 };
55 58
56 } // namespace compiler 59 } // namespace compiler
57 } // namespace internal 60 } // namespace internal
58 } // namespace v8 61 } // namespace v8
59 62
60 #endif // V8_COMPILER_ESCAPE_ANALYSIS_REDUCER_H_ 63 #endif // V8_COMPILER_ESCAPE_ANALYSIS_REDUCER_H_
OLDNEW
« no previous file with comments | « no previous file | src/compiler/escape-analysis-reducer.cc » ('j') | src/compiler/escape-analysis-reducer.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698