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

Side by Side Diff: src/compiler/simplified-operator-reducer.h

Issue 2416243002: Make unittests work in component build (Closed)
Patch Set: updates Created 4 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/compiler/simplified-operator.h ('k') | src/compiler/source-position.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 2014 the V8 project authors. All rights reserved. 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 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_SIMPLIFIED_OPERATOR_REDUCER_H_ 5 #ifndef V8_COMPILER_SIMPLIFIED_OPERATOR_REDUCER_H_
6 #define V8_COMPILER_SIMPLIFIED_OPERATOR_REDUCER_H_ 6 #define V8_COMPILER_SIMPLIFIED_OPERATOR_REDUCER_H_
7 7
8 #include "src/base/compiler-specific.h"
8 #include "src/compiler/graph-reducer.h" 9 #include "src/compiler/graph-reducer.h"
10 #include "src/globals.h"
9 11
10 namespace v8 { 12 namespace v8 {
11 namespace internal { 13 namespace internal {
12 14
13 // Forward declarations. 15 // Forward declarations.
14 class Factory; 16 class Factory;
15 class Isolate; 17 class Isolate;
16 18
17 namespace compiler { 19 namespace compiler {
18 20
19 // Forward declarations. 21 // Forward declarations.
20 class JSGraph; 22 class JSGraph;
21 class MachineOperatorBuilder; 23 class MachineOperatorBuilder;
22 class SimplifiedOperatorBuilder; 24 class SimplifiedOperatorBuilder;
23 25
24 class SimplifiedOperatorReducer final : public AdvancedReducer { 26 class V8_EXPORT_PRIVATE SimplifiedOperatorReducer final
27 : public NON_EXPORTED_BASE(AdvancedReducer) {
25 public: 28 public:
26 SimplifiedOperatorReducer(Editor* editor, JSGraph* jsgraph); 29 SimplifiedOperatorReducer(Editor* editor, JSGraph* jsgraph);
27 ~SimplifiedOperatorReducer() final; 30 ~SimplifiedOperatorReducer() final;
28 31
29 Reduction Reduce(Node* node) final; 32 Reduction Reduce(Node* node) final;
30 33
31 private: 34 private:
32 Reduction ReduceReferenceEqual(Node* node); 35 Reduction ReduceReferenceEqual(Node* node);
33 36
34 Reduction Change(Node* node, const Operator* op, Node* a); 37 Reduction Change(Node* node, const Operator* op, Node* a);
(...skipping 16 matching lines...) Expand all
51 JSGraph* const jsgraph_; 54 JSGraph* const jsgraph_;
52 55
53 DISALLOW_COPY_AND_ASSIGN(SimplifiedOperatorReducer); 56 DISALLOW_COPY_AND_ASSIGN(SimplifiedOperatorReducer);
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_SIMPLIFIED_OPERATOR_REDUCER_H_ 63 #endif // V8_COMPILER_SIMPLIFIED_OPERATOR_REDUCER_H_
OLDNEW
« no previous file with comments | « src/compiler/simplified-operator.h ('k') | src/compiler/source-position.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698