| 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 606 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 617  public: | 617  public: | 
| 618   MUST_USE_RESULT static MaybeHandle<Code> GetUnoptimizedCode( | 618   MUST_USE_RESULT static MaybeHandle<Code> GetUnoptimizedCode( | 
| 619       Handle<JSFunction> function); | 619       Handle<JSFunction> function); | 
| 620   MUST_USE_RESULT static MaybeHandle<Code> GetUnoptimizedCode( | 620   MUST_USE_RESULT static MaybeHandle<Code> GetUnoptimizedCode( | 
| 621       Handle<SharedFunctionInfo> shared); | 621       Handle<SharedFunctionInfo> shared); | 
| 622   static bool EnsureCompiled(Handle<JSFunction> function, | 622   static bool EnsureCompiled(Handle<JSFunction> function, | 
| 623                              ClearExceptionFlag flag); | 623                              ClearExceptionFlag flag); | 
| 624   MUST_USE_RESULT static MaybeHandle<Code> GetCodeForDebugging( | 624   MUST_USE_RESULT static MaybeHandle<Code> GetCodeForDebugging( | 
| 625       Handle<JSFunction> function); | 625       Handle<JSFunction> function); | 
| 626 | 626 | 
| 627 #ifdef ENABLE_DEBUGGER_SUPPORT |  | 
| 628   static void CompileForLiveEdit(Handle<Script> script); | 627   static void CompileForLiveEdit(Handle<Script> script); | 
| 629 #endif |  | 
| 630 | 628 | 
| 631   // Compile a String source within a context for eval. | 629   // Compile a String source within a context for eval. | 
| 632   MUST_USE_RESULT static MaybeHandle<JSFunction> GetFunctionFromEval( | 630   MUST_USE_RESULT static MaybeHandle<JSFunction> GetFunctionFromEval( | 
| 633       Handle<String> source, | 631       Handle<String> source, | 
| 634       Handle<Context> context, | 632       Handle<Context> context, | 
| 635       StrictMode strict_mode, | 633       StrictMode strict_mode, | 
| 636       ParseRestriction restriction, | 634       ParseRestriction restriction, | 
| 637       int scope_position); | 635       int scope_position); | 
| 638 | 636 | 
| 639   // Compile a String source within a context. | 637   // Compile a String source within a context. | 
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 694   unsigned info_zone_start_allocation_size_; | 692   unsigned info_zone_start_allocation_size_; | 
| 695   ElapsedTimer timer_; | 693   ElapsedTimer timer_; | 
| 696 | 694 | 
| 697   DISALLOW_COPY_AND_ASSIGN(CompilationPhase); | 695   DISALLOW_COPY_AND_ASSIGN(CompilationPhase); | 
| 698 }; | 696 }; | 
| 699 | 697 | 
| 700 | 698 | 
| 701 } }  // namespace v8::internal | 699 } }  // namespace v8::internal | 
| 702 | 700 | 
| 703 #endif  // V8_COMPILER_H_ | 701 #endif  // V8_COMPILER_H_ | 
| OLD | NEW | 
|---|