OLD | NEW |
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_MARK_DEOPTIMIZE_H_ | 5 #ifndef V8_CRANKSHAFT_HYDROGEN_MARK_DEOPTIMIZE_H_ |
6 #define V8_HYDROGEN_MARK_DEOPTIMIZE_H_ | 6 #define V8_CRANKSHAFT_HYDROGEN_MARK_DEOPTIMIZE_H_ |
7 | 7 |
8 #include "src/hydrogen.h" | 8 #include "src/crankshaft/hydrogen.h" |
9 | 9 |
10 namespace v8 { | 10 namespace v8 { |
11 namespace internal { | 11 namespace internal { |
12 | 12 |
13 | 13 |
14 // Compute DeoptimizeOnUndefined flag for phis. Any phi that can reach a use | 14 // Compute DeoptimizeOnUndefined flag for phis. Any phi that can reach a use |
15 // with DeoptimizeOnUndefined set must have DeoptimizeOnUndefined set. | 15 // with DeoptimizeOnUndefined set must have DeoptimizeOnUndefined set. |
16 // Currently only HCompareNumericAndBranch, with double input representation, | 16 // Currently only HCompareNumericAndBranch, with double input representation, |
17 // has this flag set. The flag is used by HChange tagged->double, which must | 17 // has this flag set. The flag is used by HChange tagged->double, which must |
18 // deoptimize if one of its uses has this flag set. | 18 // deoptimize if one of its uses has this flag set. |
(...skipping 24 matching lines...) Expand all Loading... |
43 void Run(); | 43 void Run(); |
44 | 44 |
45 private: | 45 private: |
46 DISALLOW_COPY_AND_ASSIGN(HComputeChangeUndefinedToNaN); | 46 DISALLOW_COPY_AND_ASSIGN(HComputeChangeUndefinedToNaN); |
47 }; | 47 }; |
48 | 48 |
49 | 49 |
50 } // namespace internal | 50 } // namespace internal |
51 } // namespace v8 | 51 } // namespace v8 |
52 | 52 |
53 #endif // V8_HYDROGEN_MARK_DEOPTIMIZE_H_ | 53 #endif // V8_CRANKSHAFT_HYDROGEN_MARK_DEOPTIMIZE_H_ |
OLD | NEW |