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

Side by Side Diff: src/compiler.h

Issue 582593003: Remove Compiler::RecordFunctionCompilation from interface. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 3 months 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 | « no previous file | 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/zone.h" 10 #include "src/zone.h"
(...skipping 694 matching lines...) Expand 10 before | Expand all | Expand 10 after
705 MUST_USE_RESULT static MaybeHandle<Code> GetOptimizedCode( 705 MUST_USE_RESULT static MaybeHandle<Code> GetOptimizedCode(
706 Handle<JSFunction> function, 706 Handle<JSFunction> function,
707 Handle<Code> current_code, 707 Handle<Code> current_code,
708 ConcurrencyMode mode, 708 ConcurrencyMode mode,
709 BailoutId osr_ast_id = BailoutId::None()); 709 BailoutId osr_ast_id = BailoutId::None());
710 710
711 // Generate and return code from previously queued optimization job. 711 // Generate and return code from previously queued optimization job.
712 // On failure, return the empty handle. 712 // On failure, return the empty handle.
713 static Handle<Code> GetConcurrentlyOptimizedCode(OptimizedCompileJob* job); 713 static Handle<Code> GetConcurrentlyOptimizedCode(OptimizedCompileJob* job);
714 714
715 static void RecordFunctionCompilation(Logger::LogEventsAndTags tag,
716 CompilationInfo* info,
717 Handle<SharedFunctionInfo> shared);
718
719 static bool DebuggerWantsEagerCompilation( 715 static bool DebuggerWantsEagerCompilation(
720 CompilationInfo* info, bool allow_lazy_without_ctx = false); 716 CompilationInfo* info, bool allow_lazy_without_ctx = false);
721 }; 717 };
722 718
723 719
724 class CompilationPhase BASE_EMBEDDED { 720 class CompilationPhase BASE_EMBEDDED {
725 public: 721 public:
726 CompilationPhase(const char* name, CompilationInfo* info); 722 CompilationPhase(const char* name, CompilationInfo* info);
727 ~CompilationPhase(); 723 ~CompilationPhase();
728 724
(...skipping 11 matching lines...) Expand all
740 Zone zone_; 736 Zone zone_;
741 unsigned info_zone_start_allocation_size_; 737 unsigned info_zone_start_allocation_size_;
742 base::ElapsedTimer timer_; 738 base::ElapsedTimer timer_;
743 739
744 DISALLOW_COPY_AND_ASSIGN(CompilationPhase); 740 DISALLOW_COPY_AND_ASSIGN(CompilationPhase);
745 }; 741 };
746 742
747 } } // namespace v8::internal 743 } } // namespace v8::internal
748 744
749 #endif // V8_COMPILER_H_ 745 #endif // V8_COMPILER_H_
OLDNEW
« no previous file with comments | « no previous file | src/compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698