| Index: src/objects.h
|
| diff --git a/src/objects.h b/src/objects.h
|
| index 0b1c761281c7238c1a99fe511aab195e3104aedc..94cc51358046a07a0d7e17922a9a1192d13aae93 100644
|
| --- a/src/objects.h
|
| +++ b/src/objects.h
|
| @@ -5241,6 +5241,12 @@ class SharedFunctionInfo: public HeapObject {
|
| inline int ast_node_count();
|
| inline void set_ast_node_count(int count);
|
|
|
| + inline int ic_total_count();
|
| + inline void set_ic_total_count(int count);
|
| +
|
| + inline int ic_typeinfo_count();
|
| + inline void set_ic_typeinfo_count(int count);
|
| +
|
| // Add information on assignments of the form this.x = ...;
|
| void SetThisPropertyAssignmentsInfo(
|
| bool has_only_simple_this_property_assignments,
|
| @@ -5441,8 +5447,10 @@ class SharedFunctionInfo: public HeapObject {
|
| static const int kAstNodeCountOffset = kOptCountOffset + kPointerSize;
|
| static const int kDeoptCounterOffset =
|
| kAstNodeCountOffset + kPointerSize;
|
| + static const int kIcTotalCountOffset = kDeoptCounterOffset + kPointerSize;
|
| + static const int kIcTypeInfoCountOffset = kIcTotalCountOffset + kPointerSize;
|
| // Total size.
|
| - static const int kSize = kDeoptCounterOffset + kPointerSize;
|
| + static const int kSize = kIcTypeInfoCountOffset + kPointerSize;
|
| #else
|
| // The only reason to use smi fields instead of int fields
|
| // is to allow iteration without maps decoding during
|
| @@ -5481,8 +5489,11 @@ class SharedFunctionInfo: public HeapObject {
|
| static const int kAstNodeCountOffset = kOptCountOffset + kIntSize;
|
| static const int kDeoptCounterOffset = kAstNodeCountOffset + kIntSize;
|
|
|
| + static const int kIcTotalCountOffset = kDeoptCounterOffset + kIntSize;
|
| + static const int kIcTypeInfoCountOffset = kIcTotalCountOffset + kIntSize;
|
| +
|
| // Total size.
|
| - static const int kSize = kDeoptCounterOffset + kIntSize;
|
| + static const int kSize = kIcTypeInfoCountOffset + kIntSize;
|
|
|
| #endif
|
|
|
|
|