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

Side by Side Diff: src/crankshaft/hydrogen-removable-simulates.cc

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
OLDNEW
1 // Copyright 2013 the V8 project authors. All rights reserved. 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 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 #include "src/hydrogen-flow-engine.h" 5 #include "src/crankshaft/hydrogen-removable-simulates.h"
6 #include "src/hydrogen-instructions.h" 6
7 #include "src/hydrogen-removable-simulates.h" 7 #include "src/crankshaft/hydrogen-flow-engine.h"
8 #include "src/crankshaft/hydrogen-instructions.h"
8 9
9 namespace v8 { 10 namespace v8 {
10 namespace internal { 11 namespace internal {
11 12
12 class State : public ZoneObject { 13 class State : public ZoneObject {
13 public: 14 public:
14 explicit State(Zone* zone) 15 explicit State(Zone* zone)
15 : zone_(zone), mergelist_(2, zone), first_(true), mode_(NORMAL) { } 16 : zone_(zone), mergelist_(2, zone), first_(true), mode_(NORMAL) { }
16 17
17 State* Process(HInstruction* instr, Zone* zone) { 18 State* Process(HInstruction* instr, Zone* zone) {
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 180
180 181
181 void HMergeRemovableSimulatesPhase::Run() { 182 void HMergeRemovableSimulatesPhase::Run() {
182 HFlowEngine<State, Effects> engine(graph(), zone()); 183 HFlowEngine<State, Effects> engine(graph(), zone());
183 State* state = new(zone()) State(zone()); 184 State* state = new(zone()) State(zone());
184 engine.AnalyzeDominatedBlocks(graph()->blocks()->at(0), state); 185 engine.AnalyzeDominatedBlocks(graph()->blocks()->at(0), state);
185 } 186 }
186 187
187 } // namespace internal 188 } // namespace internal
188 } // namespace v8 189 } // namespace v8
OLDNEW
« no previous file with comments | « src/crankshaft/hydrogen-removable-simulates.h ('k') | src/crankshaft/hydrogen-representation-changes.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698