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

Unified Diff: src/compiler.h

Issue 137403009: Adding a type vector to replace type cells. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: PORTS. Created 6 years, 11 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/compiler.h
diff --git a/src/compiler.h b/src/compiler.h
index 3bf4db5780a31d041782b3f0aaf30d046ee5151b..02994afc9e563bffbcd1f72108837a05b652aff6 100644
--- a/src/compiler.h
+++ b/src/compiler.h
@@ -103,6 +103,9 @@ class CompilationInfo {
parameter_count_ = parameter_count;
}
+ void ProcessFeedbackSlots();
+ int slot_count() { return function()->slot_count(); }
+
void set_this_has_uses(bool has_no_uses) {
this_has_uses_ = has_no_uses;
}
@@ -632,8 +635,10 @@ class Compiler : public AllStatic {
NativesFlag is_natives_code);
// Create a shared function info object (the code may be lazily compiled).
- static Handle<SharedFunctionInfo> BuildFunctionInfo(FunctionLiteral* node,
- Handle<Script> script);
+ static Handle<SharedFunctionInfo> BuildFunctionInfo(
+ FunctionLiteral* node,
+ Handle<Script> script,
+ bool process_feedback = true);
Benedikt Meurer 2014/02/04 08:53:50 This bool parameter is really confusing. If we rea
mvstanton 2014/02/04 13:03:27 Took some effort but I finally figured out another
enum ConcurrencyMode { NOT_CONCURRENT, CONCURRENT };

Powered by Google App Engine
This is Rietveld 408576698