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

Unified Diff: src/full-codegen.h

Issue 23747003: Wire up profiling budget to the Code object. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: src/full-codegen.h
diff --git a/src/full-codegen.h b/src/full-codegen.h
index af63aedfbff2e4e6dafc0485b37191d8862a6104..43d57d33d204ab3a3f9c3877a830e8bf1c689b28 100644
--- a/src/full-codegen.h
+++ b/src/full-codegen.h
@@ -100,6 +100,7 @@ class FullCodeGenerator: public AstVisitor {
? info->function()->ast_node_count() : 0,
info->zone()),
ic_total_count_(0),
+ profiling_budget_(),
zone_(info->zone()) {
Initialize();
}
@@ -695,6 +696,7 @@ class FullCodeGenerator: public AstVisitor {
void PopulateDeoptimizationData(Handle<Code> code);
void PopulateTypeFeedbackInfo(Handle<Code> code);
void PopulateTypeFeedbackCells(Handle<Code> code);
+ void SetProfilingBudgetCell(Handle<Code> code);
Handle<FixedArray> handler_table() { return handler_table_; }
@@ -907,7 +909,7 @@ class FullCodeGenerator: public AstVisitor {
ZoneList<TypeFeedbackCellEntry> type_feedback_cells_;
int ic_total_count_;
Handle<FixedArray> handler_table_;
- Handle<Cell> profiling_counter_;
+ Handle<Cell> profiling_budget_;
bool generate_debug_code_;
Zone* zone_;
« no previous file with comments | « src/arm/full-codegen-arm.cc ('k') | src/full-codegen.cc » ('j') | src/full-codegen.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698