| Index: src/objects.h
|
| diff --git a/src/objects.h b/src/objects.h
|
| index 5af771828999fc9b9a0370c6e2736e298f93c019..292de00630d2d368a560eafb61c40c8d1a07f821 100644
|
| --- a/src/objects.h
|
| +++ b/src/objects.h
|
| @@ -4994,7 +4994,10 @@ class SharedFunctionInfo: public HeapObject {
|
| inline Smi* deopt_counter();
|
| inline void set_deopt_counter(Smi* counter);
|
|
|
| - // Add information on assignments of the form this.x = ...;
|
| + inline int profiler_ticks();
|
| + inline void set_profiler_ticks(int ticks);
|
| +
|
| + // Add information on assignments of the form this.x = ...;
|
| void SetThisPropertyAssignmentsInfo(
|
| bool has_only_simple_this_property_assignments,
|
| FixedArray* this_property_assignments);
|
| @@ -5173,10 +5176,12 @@ class SharedFunctionInfo: public HeapObject {
|
| kInitialMapOffset + kPointerSize;
|
| static const int kDeoptCounterOffset =
|
| kThisPropertyAssignmentsOffset + kPointerSize;
|
| + static const int kProfilerTicksOffset =
|
| + kDeoptCounterOffset + kPointerSize;
|
| #if V8_HOST_ARCH_32_BIT
|
| // Smi fields.
|
| static const int kLengthOffset =
|
| - kDeoptCounterOffset + kPointerSize;
|
| + kProfilerTicksOffset + kPointerSize;
|
| static const int kFormalParameterCountOffset = kLengthOffset + kPointerSize;
|
| static const int kExpectedNofPropertiesOffset =
|
| kFormalParameterCountOffset + kPointerSize;
|
| @@ -5207,7 +5212,7 @@ class SharedFunctionInfo: public HeapObject {
|
| // word is not set and thus this word cannot be treated as pointer
|
| // to HeapObject during old space traversal.
|
| static const int kLengthOffset =
|
| - kDeoptCounterOffset + kPointerSize;
|
| + kProfilerTicksOffset + kPointerSize;
|
| static const int kFormalParameterCountOffset =
|
| kLengthOffset + kIntSize;
|
|
|
|
|