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_LITHIUM_CODEGEN_H_ | 5 #ifndef V8_LITHIUM_CODEGEN_H_ |
6 #define V8_LITHIUM_CODEGEN_H_ | 6 #define V8_LITHIUM_CODEGEN_H_ |
7 | 7 |
8 #include "v8.h" | 8 #include "v8.h" |
9 | 9 |
10 #include "compiler.h" | 10 #include "compiler.h" |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 int last_lazy_deopt_pc_; | 69 int last_lazy_deopt_pc_; |
70 | 70 |
71 bool is_unused() const { return status_ == UNUSED; } | 71 bool is_unused() const { return status_ == UNUSED; } |
72 bool is_generating() const { return status_ == GENERATING; } | 72 bool is_generating() const { return status_ == GENERATING; } |
73 bool is_done() const { return status_ == DONE; } | 73 bool is_done() const { return status_ == DONE; } |
74 bool is_aborted() const { return status_ == ABORTED; } | 74 bool is_aborted() const { return status_ == ABORTED; } |
75 | 75 |
76 void Abort(BailoutReason reason); | 76 void Abort(BailoutReason reason); |
77 | 77 |
78 // Methods for code dependencies. | 78 // Methods for code dependencies. |
79 void AddDeprecationDependency(Handle<Map> map); | |
80 void AddStabilityDependency(Handle<Map> map); | 79 void AddStabilityDependency(Handle<Map> map); |
81 }; | 80 }; |
82 | 81 |
83 | 82 |
84 } } // namespace v8::internal | 83 } } // namespace v8::internal |
85 | 84 |
86 #endif // V8_LITHIUM_CODEGEN_H_ | 85 #endif // V8_LITHIUM_CODEGEN_H_ |
OLD | NEW |