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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 Status status_; | 65 Status status_; |
66 int current_block_; | 66 int current_block_; |
67 int current_instruction_; | 67 int current_instruction_; |
68 const ZoneList<LInstruction*>* instructions_; | 68 const ZoneList<LInstruction*>* instructions_; |
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 |
| 76 void Abort(BailoutReason reason); |
| 77 |
| 78 // Methods for code dependencies. |
| 79 void AddDeprecationDependency(Handle<Map> map); |
75 }; | 80 }; |
76 | 81 |
77 | 82 |
78 } } // namespace v8::internal | 83 } } // namespace v8::internal |
79 | 84 |
80 #endif // V8_LITHIUM_CODEGEN_H_ | 85 #endif // V8_LITHIUM_CODEGEN_H_ |
OLD | NEW |