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

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

Issue 2704573003: Revert of [turbofan] extend escape analysis to reduce CheckMaps (Closed)
Patch Set: Created 3 years, 10 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/compiler/escape-analysis.cc ('k') | src/compiler/escape-analysis-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
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/base/compiler-specific.h" 8 #include "src/base/compiler-specific.h"
9 #include "src/bit-vector.h" 9 #include "src/bit-vector.h"
10 #include "src/compiler/escape-analysis.h" 10 #include "src/compiler/escape-analysis.h"
(...skipping 18 matching lines...) Expand all
29 // Verifies that all virtual allocation nodes have been dealt with. Run it 29 // Verifies that all virtual allocation nodes have been dealt with. Run it
30 // after this reducer has been applied. Has no effect in release mode. 30 // after this reducer has been applied. Has no effect in release mode.
31 void VerifyReplacement() const; 31 void VerifyReplacement() const;
32 32
33 bool compilation_failed() const { return compilation_failed_; } 33 bool compilation_failed() const { return compilation_failed_; }
34 34
35 private: 35 private:
36 Reduction ReduceNode(Node* node); 36 Reduction ReduceNode(Node* node);
37 Reduction ReduceLoad(Node* node); 37 Reduction ReduceLoad(Node* node);
38 Reduction ReduceStore(Node* node); 38 Reduction ReduceStore(Node* node);
39 Reduction ReduceCheckMaps(Node* node);
40 Reduction ReduceAllocate(Node* node); 39 Reduction ReduceAllocate(Node* node);
41 Reduction ReduceFinishRegion(Node* node); 40 Reduction ReduceFinishRegion(Node* node);
42 Reduction ReduceReferenceEqual(Node* node); 41 Reduction ReduceReferenceEqual(Node* node);
43 Reduction ReduceObjectIsSmi(Node* node); 42 Reduction ReduceObjectIsSmi(Node* node);
44 Reduction ReduceFrameStateUses(Node* node); 43 Reduction ReduceFrameStateUses(Node* node);
45 Node* ReduceDeoptState(Node* node, Node* effect, bool multiple_users); 44 Node* ReduceDeoptState(Node* node, Node* effect, bool multiple_users);
46 Node* ReduceStateValueInput(Node* node, int node_index, Node* effect, 45 Node* ReduceStateValueInput(Node* node, int node_index, Node* effect,
47 bool node_multiused, bool already_cloned, 46 bool node_multiused, bool already_cloned,
48 bool multiple_users); 47 bool multiple_users);
49 48
(...skipping 11 matching lines...) Expand all
61 bool compilation_failed_ = false; 60 bool compilation_failed_ = false;
62 61
63 DISALLOW_COPY_AND_ASSIGN(EscapeAnalysisReducer); 62 DISALLOW_COPY_AND_ASSIGN(EscapeAnalysisReducer);
64 }; 63 };
65 64
66 } // namespace compiler 65 } // namespace compiler
67 } // namespace internal 66 } // namespace internal
68 } // namespace v8 67 } // namespace v8
69 68
70 #endif // V8_COMPILER_ESCAPE_ANALYSIS_REDUCER_H_ 69 #endif // V8_COMPILER_ESCAPE_ANALYSIS_REDUCER_H_
OLDNEW
« no previous file with comments | « src/compiler/escape-analysis.cc ('k') | src/compiler/escape-analysis-reducer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698