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

Unified Diff: src/hydrogen.h

Issue 8700001: Relax inlining limits for simple leaf functions (second version). (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/compiler.cc ('k') | src/hydrogen.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/hydrogen.h
diff --git a/src/hydrogen.h b/src/hydrogen.h
index 948ea342bce660e12c8e14067b4b305188317560..e81f338456864e287acd7a28dc2ebe13128725e2 100644
--- a/src/hydrogen.h
+++ b/src/hydrogen.h
@@ -752,8 +752,12 @@ class HGraphBuilder: public AstVisitor {
static const int kMaxLoadPolymorphism = 4;
static const int kMaxStorePolymorphism = 4;
- static const int kMaxInlinedNodes = 196;
+
+ // Make sure that kMaxInlinedSize < SharedFunctionInfo::kAstNodeCountMask.
+ static const int kMaxInlinedNodesSoft = 196;
+ static const int kMaxInlinedNodesHard = 270;
static const int kMaxInlinedSize = 196;
+ static const int kMaxInlinedPrimitiveSize = 40;
static const int kMaxSourceSize = 600;
// Simple accessors.
« no previous file with comments | « src/compiler.cc ('k') | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698