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

Side by Side Diff: src/crankshaft/hydrogen-environment-liveness.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/crankshaft/hydrogen-dehoist.cc ('k') | src/crankshaft/hydrogen-environment-liveness.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 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 #ifndef V8_HYDROGEN_ENVIRONMENT_LIVENESS_H_ 5 #ifndef V8_CRANKSHAFT_HYDROGEN_ENVIRONMENT_LIVENESS_H_
6 #define V8_HYDROGEN_ENVIRONMENT_LIVENESS_H_ 6 #define V8_CRANKSHAFT_HYDROGEN_ENVIRONMENT_LIVENESS_H_
7 7
8 8 #include "src/crankshaft/hydrogen.h"
9 #include "src/hydrogen.h"
10 9
11 namespace v8 { 10 namespace v8 {
12 namespace internal { 11 namespace internal {
13 12
14 13
15 // Trims live ranges of environment slots by doing explicit liveness analysis. 14 // Trims live ranges of environment slots by doing explicit liveness analysis.
16 // Values in the environment are kept alive by every subsequent LInstruction 15 // Values in the environment are kept alive by every subsequent LInstruction
17 // that is assigned an LEnvironment, which creates register pressure and 16 // that is assigned an LEnvironment, which creates register pressure and
18 // unnecessary spill slot moves. Therefore it is beneficial to trim the 17 // unnecessary spill slot moves. Therefore it is beneficial to trim the
19 // live ranges of environment slots by zapping them with a constant after 18 // live ranges of environment slots by zapping them with a constant after
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 HSimulate* last_simulate_; 58 HSimulate* last_simulate_;
60 BitVector went_live_since_last_simulate_; 59 BitVector went_live_since_last_simulate_;
61 60
62 DISALLOW_COPY_AND_ASSIGN(HEnvironmentLivenessAnalysisPhase); 61 DISALLOW_COPY_AND_ASSIGN(HEnvironmentLivenessAnalysisPhase);
63 }; 62 };
64 63
65 64
66 } // namespace internal 65 } // namespace internal
67 } // namespace v8 66 } // namespace v8
68 67
69 #endif /* V8_HYDROGEN_ENVIRONMENT_LIVENESS_H_ */ 68 #endif // V8_CRANKSHAFT_HYDROGEN_ENVIRONMENT_LIVENESS_H_
OLDNEW
« no previous file with comments | « src/crankshaft/hydrogen-dehoist.cc ('k') | src/crankshaft/hydrogen-environment-liveness.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698