| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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_FULL_CODEGEN_H_ | 5 #ifndef V8_FULL_CODEGEN_H_ |
| 6 #define V8_FULL_CODEGEN_H_ | 6 #define V8_FULL_CODEGEN_H_ |
| 7 | 7 |
| 8 #include "src/v8.h" | 8 #include "src/v8.h" |
| 9 | 9 |
| 10 #include "src/allocation.h" | 10 #include "src/allocation.h" |
| (...skipping 691 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 702 void SetReturnPosition(FunctionLiteral* fun); | 702 void SetReturnPosition(FunctionLiteral* fun); |
| 703 void SetStatementPosition(Statement* stmt); | 703 void SetStatementPosition(Statement* stmt); |
| 704 void SetExpressionPosition(Expression* expr); | 704 void SetExpressionPosition(Expression* expr); |
| 705 void SetSourcePosition(int pos); | 705 void SetSourcePosition(int pos); |
| 706 | 706 |
| 707 // Non-local control flow support. | 707 // Non-local control flow support. |
| 708 void EnterTryBlock(int handler_index, Label* handler); | 708 void EnterTryBlock(int handler_index, Label* handler); |
| 709 void ExitTryBlock(int handler_index); | 709 void ExitTryBlock(int handler_index); |
| 710 void EnterFinallyBlock(); | 710 void EnterFinallyBlock(); |
| 711 void ExitFinallyBlock(); | 711 void ExitFinallyBlock(); |
| 712 void ClearPendingMessage(); |
| 712 | 713 |
| 713 // Loop nesting counter. | 714 // Loop nesting counter. |
| 714 int loop_depth() { return loop_depth_; } | 715 int loop_depth() { return loop_depth_; } |
| 715 void increment_loop_depth() { loop_depth_++; } | 716 void increment_loop_depth() { loop_depth_++; } |
| 716 void decrement_loop_depth() { | 717 void decrement_loop_depth() { |
| 717 DCHECK(loop_depth_ > 0); | 718 DCHECK(loop_depth_ > 0); |
| 718 loop_depth_--; | 719 loop_depth_--; |
| 719 } | 720 } |
| 720 | 721 |
| 721 MacroAssembler* masm() const { return masm_; } | 722 MacroAssembler* masm() const { return masm_; } |
| (...skipping 373 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1095 | 1096 |
| 1096 Address start_; | 1097 Address start_; |
| 1097 Address instruction_start_; | 1098 Address instruction_start_; |
| 1098 uint32_t length_; | 1099 uint32_t length_; |
| 1099 }; | 1100 }; |
| 1100 | 1101 |
| 1101 | 1102 |
| 1102 } } // namespace v8::internal | 1103 } } // namespace v8::internal |
| 1103 | 1104 |
| 1104 #endif // V8_FULL_CODEGEN_H_ | 1105 #endif // V8_FULL_CODEGEN_H_ |
| OLD | NEW |