Chromium Code Reviews| Index: src/objects.h |
| diff --git a/src/objects.h b/src/objects.h |
| index 975fdf8d85a46b98a7d3715c09b798444efaec83..450d62cfe80b3d9a43be2c2e2ec4688eab87dbbf 100644 |
| --- a/src/objects.h |
| +++ b/src/objects.h |
| @@ -4545,6 +4545,10 @@ class Code: public HeapObject { |
| void PrintDeoptLocation(int bailout_id); |
| +#ifdef VERIFY_HEAP |
| + void VerifyEmbeddedMaps(); |
|
Michael Starzinger
2013/01/31 14:27:50
Let's call this "VerifyEmbeddedMapsDependency()".
ulan
2013/02/04 09:54:06
Done.
|
| +#endif |
| + |
| // Max loop nesting marker used to postpose OSR. We don't take loop |
| // nesting that is deeper than 5 levels into account. |
| static const int kMaxLoopNestingMarker = 6; |
| @@ -4691,6 +4695,7 @@ class DependentCodes: public FixedArray { |
| static Handle<DependentCodes> Append(Handle<DependentCodes> codes, |
| Handle<Code> value); |
| static inline DependentCodes* cast(Object* object); |
| + bool Contains(Code* code); |
| private: |
| static const int kNumberOfCodesIndex = 0; |
| static const int kCodesIndex = 1; |