| 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 510 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  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  |  530  | 
 |  531   void SavePendingMessage(); | 
 |  532   void RestorePendingMessage(); | 
 |  533  | 
|  531   // Loop nesting counter. |  534   // Loop nesting counter. | 
|  532   int loop_depth() { return loop_depth_; } |  535   int loop_depth() { return loop_depth_; } | 
|  533   void increment_loop_depth() { loop_depth_++; } |  536   void increment_loop_depth() { loop_depth_++; } | 
|  534   void decrement_loop_depth() { |  537   void decrement_loop_depth() { | 
|  535     ASSERT(loop_depth_ > 0); |  538     ASSERT(loop_depth_ > 0); | 
|  536     loop_depth_--; |  539     loop_depth_--; | 
|  537   } |  540   } | 
|  538  |  541  | 
|  539   MacroAssembler* masm() { return masm_; } |  542   MacroAssembler* masm() { return masm_; } | 
|  540  |  543  | 
| (...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  810   } |  813   } | 
|  811  |  814  | 
|  812  private: |  815  private: | 
|  813   Zone* zone_; |  816   Zone* zone_; | 
|  814 }; |  817 }; | 
|  815  |  818  | 
|  816  |  819  | 
|  817 } }  // namespace v8::internal |  820 } }  // namespace v8::internal | 
|  818  |  821  | 
|  819 #endif  // V8_FULL_CODEGEN_H_ |  822 #endif  // V8_FULL_CODEGEN_H_ | 
| OLD | NEW |