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

Side by Side Diff: src/hydrogen-gvn.h

Issue 426233002: Land the Fan (disabled) (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Review feedback, rebase and "git cl format" Created 6 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « src/hydrogen.cc ('k') | src/hydrogen-instructions.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 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_GVN_H_ 5 #ifndef V8_HYDROGEN_GVN_H_
6 #define V8_HYDROGEN_GVN_H_ 6 #define V8_HYDROGEN_GVN_H_
7 7
8 #include "src/compiler.h" 8 #include "src/compiler.h"
9 #include "src/hydrogen.h" 9 #include "src/hydrogen.h"
10 #include "src/hydrogen-instructions.h" 10 #include "src/hydrogen-instructions.h"
11 #include "src/ostreams.h"
12 #include "src/zone.h" 11 #include "src/zone.h"
13 12
14 namespace v8 { 13 namespace v8 {
15 namespace internal { 14 namespace internal {
16 15
16 class OStream;
17
17 // This class extends GVNFlagSet with additional "special" dynamic side effects, 18 // This class extends GVNFlagSet with additional "special" dynamic side effects,
18 // which can be used to represent side effects that cannot be expressed using 19 // which can be used to represent side effects that cannot be expressed using
19 // the GVNFlags of an HInstruction. These special side effects are tracked by a 20 // the GVNFlags of an HInstruction. These special side effects are tracked by a
20 // SideEffectsTracker (see below). 21 // SideEffectsTracker (see below).
21 class SideEffects V8_FINAL { 22 class SideEffects V8_FINAL {
22 public: 23 public:
23 static const int kNumberOfSpecials = 64 - kNumberOfFlags; 24 static const int kNumberOfSpecials = 64 - kNumberOfFlags;
24 25
25 SideEffects() : bits_(0) { 26 SideEffects() : bits_(0) {
26 ASSERT(kNumberOfFlags + kNumberOfSpecials == sizeof(bits_) * CHAR_BIT); 27 ASSERT(kNumberOfFlags + kNumberOfSpecials == sizeof(bits_) * CHAR_BIT);
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 // Used when collecting side effects on paths from dominator to 145 // Used when collecting side effects on paths from dominator to
145 // dominated. 146 // dominated.
146 BitVector visited_on_paths_; 147 BitVector visited_on_paths_;
147 148
148 DISALLOW_COPY_AND_ASSIGN(HGlobalValueNumberingPhase); 149 DISALLOW_COPY_AND_ASSIGN(HGlobalValueNumberingPhase);
149 }; 150 };
150 151
151 } } // namespace v8::internal 152 } } // namespace v8::internal
152 153
153 #endif // V8_HYDROGEN_GVN_H_ 154 #endif // V8_HYDROGEN_GVN_H_
OLDNEW
« no previous file with comments | « src/hydrogen.cc ('k') | src/hydrogen-instructions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698