| 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 658 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 669   // otherwise. | 669   // otherwise. | 
| 670   void SetStatementPosition(Statement* stmt, | 670   void SetStatementPosition(Statement* stmt, | 
| 671                             InsertBreak insert_break = INSERT_BREAK); | 671                             InsertBreak insert_break = INSERT_BREAK); | 
| 672   void SetExpressionPosition(Expression* expr, | 672   void SetExpressionPosition(Expression* expr, | 
| 673                              InsertBreak insert_break = SKIP_BREAK); | 673                              InsertBreak insert_break = SKIP_BREAK); | 
| 674 | 674 | 
| 675   // Consider an expression a statement. As such, we also insert a break. | 675   // Consider an expression a statement. As such, we also insert a break. | 
| 676   // This is used in loop headers where we want to break for each iteration. | 676   // This is used in loop headers where we want to break for each iteration. | 
| 677   void SetExpressionAsStatementPosition(Expression* expr); | 677   void SetExpressionAsStatementPosition(Expression* expr); | 
| 678 | 678 | 
|  | 679   void SetCallPosition(Expression* expr, int argc); | 
|  | 680 | 
|  | 681   void SetConstructCallPosition(Expression* expr); | 
|  | 682 | 
| 679   // Non-local control flow support. | 683   // Non-local control flow support. | 
| 680   void EnterTryBlock(int handler_index, Label* handler); | 684   void EnterTryBlock(int handler_index, Label* handler); | 
| 681   void ExitTryBlock(int handler_index); | 685   void ExitTryBlock(int handler_index); | 
| 682   void EnterFinallyBlock(); | 686   void EnterFinallyBlock(); | 
| 683   void ExitFinallyBlock(); | 687   void ExitFinallyBlock(); | 
| 684   void ClearPendingMessage(); | 688   void ClearPendingMessage(); | 
| 685 | 689 | 
| 686   // Loop nesting counter. | 690   // Loop nesting counter. | 
| 687   int loop_depth() { return loop_depth_; } | 691   int loop_depth() { return loop_depth_; } | 
| 688   void increment_loop_depth() { loop_depth_++; } | 692   void increment_loop_depth() { loop_depth_++; } | 
| (...skipping 393 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1082 | 1086 | 
| 1083   Address start_; | 1087   Address start_; | 
| 1084   Address instruction_start_; | 1088   Address instruction_start_; | 
| 1085   uint32_t length_; | 1089   uint32_t length_; | 
| 1086 }; | 1090 }; | 
| 1087 | 1091 | 
| 1088 | 1092 | 
| 1089 } }  // namespace v8::internal | 1093 } }  // namespace v8::internal | 
| 1090 | 1094 | 
| 1091 #endif  // V8_FULL_CODEGEN_H_ | 1095 #endif  // V8_FULL_CODEGEN_H_ | 
| OLD | NEW | 
|---|