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

Side by Side Diff: src/compiler/move-optimizer.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/machine-operator-reducer.h ('k') | src/compiler/node.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_MOVE_OPTIMIZER_ 5 #ifndef V8_COMPILER_MOVE_OPTIMIZER_
6 #define V8_COMPILER_MOVE_OPTIMIZER_ 6 #define V8_COMPILER_MOVE_OPTIMIZER_
7 7
8 #include "src/compiler/instruction.h" 8 #include "src/compiler/instruction.h"
9 #include "src/globals.h"
9 #include "src/zone/zone-containers.h" 10 #include "src/zone/zone-containers.h"
10 11
11 namespace v8 { 12 namespace v8 {
12 namespace internal { 13 namespace internal {
13 namespace compiler { 14 namespace compiler {
14 15
15 class MoveOptimizer final { 16 class V8_EXPORT_PRIVATE MoveOptimizer final {
16 public: 17 public:
17 MoveOptimizer(Zone* local_zone, InstructionSequence* code); 18 MoveOptimizer(Zone* local_zone, InstructionSequence* code);
18 void Run(); 19 void Run();
19 20
20 private: 21 private:
21 typedef ZoneVector<MoveOperands*> MoveOpVector; 22 typedef ZoneVector<MoveOperands*> MoveOpVector;
22 typedef ZoneVector<Instruction*> Instructions; 23 typedef ZoneVector<Instruction*> Instructions;
23 24
24 InstructionSequence* code() const { return code_; } 25 InstructionSequence* code() const { return code_; }
25 Zone* local_zone() const { return local_zone_; } 26 Zone* local_zone() const { return local_zone_; }
(...skipping 27 matching lines...) Expand all
53 MoveOpVector local_vector_; 54 MoveOpVector local_vector_;
54 55
55 DISALLOW_COPY_AND_ASSIGN(MoveOptimizer); 56 DISALLOW_COPY_AND_ASSIGN(MoveOptimizer);
56 }; 57 };
57 58
58 } // namespace compiler 59 } // namespace compiler
59 } // namespace internal 60 } // namespace internal
60 } // namespace v8 61 } // namespace v8
61 62
62 #endif // V8_COMPILER_MOVE_OPTIMIZER_ 63 #endif // V8_COMPILER_MOVE_OPTIMIZER_
OLDNEW
« no previous file with comments | « src/compiler/machine-operator-reducer.h ('k') | src/compiler/node.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698