Chromium Code Reviews| 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. |
|
Kevin Millikin (Chromium)
2011/11/28 12:11:59
How about:
STATIC_ASSERT(kMaxInlinedSize < Shared
ulan
2011/11/29 14:06:52
Done.
|
| + static const int kMaxInlinedNodesSoft = 196; |
| + static const int kMaxInlinedNodesHard = 270; |
|
Kevin Millikin (Chromium)
2011/11/28 12:11:59
I still don't think these constants are documented
ulan
2011/11/29 14:06:52
Done.
|
| static const int kMaxInlinedSize = 196; |
| + static const int kMaxInlinedPrimitiveSize = 40; |
| static const int kMaxSourceSize = 600; |
| // Simple accessors. |