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

Side by Side Diff: src/hydrogen-store-elimination.h

Issue 1405363003: Move Hydrogen and Lithium to src/crankshaft/ (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: rebased Created 5 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/hydrogen-sce.cc ('k') | src/hydrogen-store-elimination.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 2013 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_HYDROGEN_STORE_ELIMINATION_H_
6 #define V8_HYDROGEN_STORE_ELIMINATION_H_
7
8 #include "src/hydrogen.h"
9 #include "src/hydrogen-alias-analysis.h"
10
11 namespace v8 {
12 namespace internal {
13
14 class HStoreEliminationPhase : public HPhase {
15 public:
16 explicit HStoreEliminationPhase(HGraph* graph)
17 : HPhase("H_Store elimination", graph),
18 unobserved_(10, zone()),
19 aliasing_() { }
20
21 void Run();
22 private:
23 ZoneList<HStoreNamedField*> unobserved_;
24 HAliasAnalyzer* aliasing_;
25
26 void ProcessStore(HStoreNamedField* store);
27 void ProcessLoad(HLoadNamedField* load);
28 void ProcessInstr(HInstruction* instr, GVNFlagSet flags);
29 };
30
31
32 } // namespace internal
33 } // namespace v8
34
35 #endif
OLDNEW
« no previous file with comments | « src/hydrogen-sce.cc ('k') | src/hydrogen-store-elimination.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698