OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 509 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
520 void SetFunctionPosition(FunctionLiteral* fun); | 520 void SetFunctionPosition(FunctionLiteral* fun); |
521 void SetReturnPosition(FunctionLiteral* fun); | 521 void SetReturnPosition(FunctionLiteral* fun); |
522 void SetStatementPosition(Statement* stmt); | 522 void SetStatementPosition(Statement* stmt); |
523 void SetExpressionPosition(Expression* expr, int pos); | 523 void SetExpressionPosition(Expression* expr, int pos); |
524 void SetStatementPosition(int pos); | 524 void SetStatementPosition(int pos); |
525 void SetSourcePosition(int pos); | 525 void SetSourcePosition(int pos); |
526 | 526 |
527 // Non-local control flow support. | 527 // Non-local control flow support. |
528 void EnterFinallyBlock(); | 528 void EnterFinallyBlock(); |
529 void ExitFinallyBlock(); | 529 void ExitFinallyBlock(); |
530 void SavePendingMessage(); | |
531 void RestorePendingMessage(); | |
532 | 530 |
533 // Loop nesting counter. | 531 // Loop nesting counter. |
534 int loop_depth() { return loop_depth_; } | 532 int loop_depth() { return loop_depth_; } |
535 void increment_loop_depth() { loop_depth_++; } | 533 void increment_loop_depth() { loop_depth_++; } |
536 void decrement_loop_depth() { | 534 void decrement_loop_depth() { |
537 ASSERT(loop_depth_ > 0); | 535 ASSERT(loop_depth_ > 0); |
538 loop_depth_--; | 536 loop_depth_--; |
539 } | 537 } |
540 | 538 |
541 MacroAssembler* masm() { return masm_; } | 539 MacroAssembler* masm() { return masm_; } |
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
812 } | 810 } |
813 | 811 |
814 private: | 812 private: |
815 Zone* zone_; | 813 Zone* zone_; |
816 }; | 814 }; |
817 | 815 |
818 | 816 |
819 } } // namespace v8::internal | 817 } } // namespace v8::internal |
820 | 818 |
821 #endif // V8_FULL_CODEGEN_H_ | 819 #endif // V8_FULL_CODEGEN_H_ |
OLD | NEW |