Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(138)

Side by Side Diff: src/compiler.h

Issue 700513002: Version 3.29.88.12 (merged r24927, r24987, r25060, r24950, r24993) (Closed) Base URL: https://v8.googlecode.com/svn/branches/3.29
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/compilation-cache.cc ('k') | src/compiler.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_COMPILER_H_ 5 #ifndef V8_COMPILER_H_
6 #define V8_COMPILER_H_ 6 #define V8_COMPILER_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/ast.h" 9 #include "src/ast.h"
10 #include "src/bailout-reason.h" 10 #include "src/bailout-reason.h"
(...skipping 664 matching lines...) Expand 10 before | Expand all | Expand 10 after
675 675
676 static bool EnsureCompiled(Handle<JSFunction> function, 676 static bool EnsureCompiled(Handle<JSFunction> function,
677 ClearExceptionFlag flag); 677 ClearExceptionFlag flag);
678 678
679 static bool EnsureDeoptimizationSupport(CompilationInfo* info); 679 static bool EnsureDeoptimizationSupport(CompilationInfo* info);
680 680
681 static void CompileForLiveEdit(Handle<Script> script); 681 static void CompileForLiveEdit(Handle<Script> script);
682 682
683 // Compile a String source within a context for eval. 683 // Compile a String source within a context for eval.
684 MUST_USE_RESULT static MaybeHandle<JSFunction> GetFunctionFromEval( 684 MUST_USE_RESULT static MaybeHandle<JSFunction> GetFunctionFromEval(
685 Handle<String> source, 685 Handle<String> source, Handle<SharedFunctionInfo> outer_info,
686 Handle<Context> context, 686 Handle<Context> context, StrictMode strict_mode,
687 StrictMode strict_mode, 687 ParseRestriction restriction, int scope_position);
688 ParseRestriction restriction,
689 int scope_position);
690 688
691 // Compile a String source within a context. 689 // Compile a String source within a context.
692 static Handle<SharedFunctionInfo> CompileScript( 690 static Handle<SharedFunctionInfo> CompileScript(
693 Handle<String> source, Handle<Object> script_name, int line_offset, 691 Handle<String> source, Handle<Object> script_name, int line_offset,
694 int column_offset, bool is_shared_cross_origin, Handle<Context> context, 692 int column_offset, bool is_shared_cross_origin, Handle<Context> context,
695 v8::Extension* extension, ScriptData** cached_data, 693 v8::Extension* extension, ScriptData** cached_data,
696 ScriptCompiler::CompileOptions compile_options, 694 ScriptCompiler::CompileOptions compile_options,
697 NativesFlag is_natives_code); 695 NativesFlag is_natives_code);
698 696
699 static Handle<SharedFunctionInfo> CompileStreamedScript(CompilationInfo* info, 697 static Handle<SharedFunctionInfo> CompileStreamedScript(CompilationInfo* info,
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
743 Zone zone_; 741 Zone zone_;
744 unsigned info_zone_start_allocation_size_; 742 unsigned info_zone_start_allocation_size_;
745 base::ElapsedTimer timer_; 743 base::ElapsedTimer timer_;
746 744
747 DISALLOW_COPY_AND_ASSIGN(CompilationPhase); 745 DISALLOW_COPY_AND_ASSIGN(CompilationPhase);
748 }; 746 };
749 747
750 } } // namespace v8::internal 748 } } // namespace v8::internal
751 749
752 #endif // V8_COMPILER_H_ 750 #endif // V8_COMPILER_H_
OLDNEW
« no previous file with comments | « src/compilation-cache.cc ('k') | src/compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698