| OLD | NEW | 
|    1 // Copyright 2010 the V8 project authors. All rights reserved. |    1 // Copyright 2010 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 513 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  524   } |  524   } | 
|  525  |  525  | 
|  526   MacroAssembler* masm() { return masm_; } |  526   MacroAssembler* masm() { return masm_; } | 
|  527  |  527  | 
|  528   class ExpressionContext; |  528   class ExpressionContext; | 
|  529   const ExpressionContext* context() { return context_; } |  529   const ExpressionContext* context() { return context_; } | 
|  530   void set_new_context(const ExpressionContext* context) { context_ = context; } |  530   void set_new_context(const ExpressionContext* context) { context_ = context; } | 
|  531  |  531  | 
|  532   Handle<Script> script() { return info_->script(); } |  532   Handle<Script> script() { return info_->script(); } | 
|  533   bool is_eval() { return info_->is_eval(); } |  533   bool is_eval() { return info_->is_eval(); } | 
 |  534   StrictModeFlag strict_mode_flag() { | 
 |  535     return function()->strict_mode() ? kStrictMode : kNonStrictMode; | 
 |  536   } | 
|  534   FunctionLiteral* function() { return info_->function(); } |  537   FunctionLiteral* function() { return info_->function(); } | 
|  535   Scope* scope() { return info_->scope(); } |  538   Scope* scope() { return info_->scope(); } | 
|  536  |  539  | 
|  537   static Register result_register(); |  540   static Register result_register(); | 
|  538   static Register context_register(); |  541   static Register context_register(); | 
|  539  |  542  | 
|  540   // Helper for calling an IC stub. |  543   // Helper for calling an IC stub. | 
|  541   void EmitCallIC(Handle<Code> ic, RelocInfo::Mode mode); |  544   void EmitCallIC(Handle<Code> ic, RelocInfo::Mode mode); | 
|  542  |  545  | 
|  543   // Calling an IC stub with a patch site. Passing NULL for patch_site |  546   // Calling an IC stub with a patch site. Passing NULL for patch_site | 
| (...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  767  |  770  | 
|  768   friend class NestedStatement; |  771   friend class NestedStatement; | 
|  769  |  772  | 
|  770   DISALLOW_COPY_AND_ASSIGN(FullCodeGenerator); |  773   DISALLOW_COPY_AND_ASSIGN(FullCodeGenerator); | 
|  771 }; |  774 }; | 
|  772  |  775  | 
|  773  |  776  | 
|  774 } }  // namespace v8::internal |  777 } }  // namespace v8::internal | 
|  775  |  778  | 
|  776 #endif  // V8_FULL_CODEGEN_H_ |  779 #endif  // V8_FULL_CODEGEN_H_ | 
| OLD | NEW |