| Index: src/objects-inl.h
|
| ===================================================================
|
| --- src/objects-inl.h (revision 10399)
|
| +++ src/objects-inl.h (working copy)
|
| @@ -3520,7 +3520,7 @@
|
| kCompilerHintsOffset)
|
| SMI_ACCESSORS(SharedFunctionInfo, this_property_assignments_count,
|
| kThisPropertyAssignmentsCountOffset)
|
| -SMI_ACCESSORS(SharedFunctionInfo, opt_count, kOptCountOffset)
|
| +SMI_ACCESSORS(SharedFunctionInfo, deopt_count, kDeoptCountOffset)
|
| #else
|
|
|
| #define PSEUDO_SMI_ACCESSORS_LO(holder, name, offset) \
|
| @@ -3570,7 +3570,7 @@
|
| PSEUDO_SMI_ACCESSORS_LO(SharedFunctionInfo,
|
| this_property_assignments_count,
|
| kThisPropertyAssignmentsCountOffset)
|
| -PSEUDO_SMI_ACCESSORS_HI(SharedFunctionInfo, opt_count, kOptCountOffset)
|
| +PSEUDO_SMI_ACCESSORS_HI(SharedFunctionInfo, deopt_count, kDeoptCountOffset)
|
| #endif
|
|
|
|
|
| @@ -3722,12 +3722,12 @@
|
| }
|
|
|
|
|
| -Smi* SharedFunctionInfo::deopt_counter() {
|
| +Smi* SharedFunctionInfo::stress_deopt_counter() {
|
| return reinterpret_cast<Smi*>(READ_FIELD(this, kDeoptCounterOffset));
|
| }
|
|
|
|
|
| -void SharedFunctionInfo::set_deopt_counter(Smi* value) {
|
| +void SharedFunctionInfo::set_stress_deopt_counter(Smi* value) {
|
| WRITE_FIELD(this, kDeoptCounterOffset, value);
|
| }
|
|
|
|
|