Chromium Code Reviews| Index: src/objects-inl.h |
| =================================================================== |
| --- src/objects-inl.h (revision 7871) |
| +++ src/objects-inl.h (working copy) |
| @@ -3325,7 +3325,8 @@ |
| void SharedFunctionInfo::set_code_age(int code_age) { |
| - set_compiler_hints(compiler_hints() | |
| + int clear_mask = ~(kCodeAgeMask << kCodeAgeShift); |
| + set_compiler_hints((compiler_hints() & clear_mask) | |
| ((code_age & kCodeAgeMask) << kCodeAgeShift)); |
| } |