| Index: src/objects-inl.h
|
| diff --git a/src/objects-inl.h b/src/objects-inl.h
|
| index dfffed17677fbe0ae55a6e2ad4a7d2f203ec5ecf..0e76c9ca7b98825d01613c6fcde25e049d6d1029 100644
|
| --- a/src/objects-inl.h
|
| +++ b/src/objects-inl.h
|
| @@ -3534,13 +3534,35 @@ void SharedFunctionInfo::set_optimization_disabled(bool disable) {
|
| }
|
|
|
|
|
| -BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, strict_mode,
|
| +BOOL_ACCESSORS(SharedFunctionInfo,
|
| + compiler_hints,
|
| + strict_mode,
|
| kStrictModeFunction)
|
| -BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, native, kNative)
|
| -BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints,
|
| - name_should_print_as_anonymous,
|
| - kNameShouldPrintAsAnonymous)
|
| -BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, bound, kBoundFunction)
|
| +
|
| +
|
| +bool SharedFunctionInfo::native() {
|
| + return BooleanBit::get(compiler_hints(), kNative);
|
| +}
|
| +
|
| +
|
| +void SharedFunctionInfo::set_native(bool value) {
|
| + set_compiler_hints(BooleanBit::set(compiler_hints(),
|
| + kNative,
|
| + value));
|
| +}
|
| +
|
| +
|
| +bool SharedFunctionInfo::bound() {
|
| + return BooleanBit::get(compiler_hints(), kBoundFunction);
|
| +}
|
| +
|
| +
|
| +void SharedFunctionInfo::set_bound(bool value) {
|
| + set_compiler_hints(BooleanBit::set(compiler_hints(),
|
| + kBoundFunction,
|
| + value));
|
| +}
|
| +
|
|
|
| ACCESSORS(CodeCache, default_cache, FixedArray, kDefaultCacheOffset)
|
| ACCESSORS(CodeCache, normal_type_cache, Object, kNormalTypeCacheOffset)
|
|
|