| Index: src/objects-inl.h
|
| diff --git a/src/objects-inl.h b/src/objects-inl.h
|
| index 01073ca7b08bd272520e1b1009d266a671411e7e..10c9b3177acfe730080e1c543fa1a1355a067fac 100644
|
| --- a/src/objects-inl.h
|
| +++ b/src/objects-inl.h
|
| @@ -2889,7 +2889,8 @@ BOOL_ACCESSORS(SharedFunctionInfo, start_position_and_type, is_expression,
|
| kIsExpressionBit)
|
| BOOL_ACCESSORS(SharedFunctionInfo, start_position_and_type, is_toplevel,
|
| kIsTopLevelBit)
|
| -BOOL_GETTER(SharedFunctionInfo, compiler_hints,
|
| +BOOL_GETTER(SharedFunctionInfo,
|
| + compiler_hints,
|
| has_only_simple_this_property_assignments,
|
| kHasOnlySimpleThisPropertyAssignments)
|
| BOOL_ACCESSORS(SharedFunctionInfo,
|
| @@ -2900,6 +2901,10 @@ BOOL_ACCESSORS(SharedFunctionInfo,
|
| compiler_hints,
|
| allows_lazy_compilation,
|
| kAllowLazyCompilation)
|
| +BOOL_ACCESSORS(SharedFunctionInfo,
|
| + compiler_hints,
|
| + uses_arguments,
|
| + kUsesArguments)
|
|
|
|
|
| #if V8_HOST_ARCH_32_BIT
|
| @@ -2983,18 +2988,10 @@ void SharedFunctionInfo::set_construction_count(int value) {
|
| }
|
|
|
|
|
| -bool SharedFunctionInfo::live_objects_may_exist() {
|
| - return (compiler_hints() & (1 << kLiveObjectsMayExist)) != 0;
|
| -}
|
| -
|
| -
|
| -void SharedFunctionInfo::set_live_objects_may_exist(bool value) {
|
| - if (value) {
|
| - set_compiler_hints(compiler_hints() | (1 << kLiveObjectsMayExist));
|
| - } else {
|
| - set_compiler_hints(compiler_hints() & ~(1 << kLiveObjectsMayExist));
|
| - }
|
| -}
|
| +BOOL_ACCESSORS(SharedFunctionInfo,
|
| + compiler_hints,
|
| + live_objects_may_exist,
|
| + kLiveObjectsMayExist)
|
|
|
|
|
| bool SharedFunctionInfo::IsInobjectSlackTrackingInProgress() {
|
| @@ -3002,9 +2999,10 @@ bool SharedFunctionInfo::IsInobjectSlackTrackingInProgress() {
|
| }
|
|
|
|
|
| -bool SharedFunctionInfo::optimization_disabled() {
|
| - return BooleanBit::get(compiler_hints(), kOptimizationDisabled);
|
| -}
|
| +BOOL_GETTER(SharedFunctionInfo,
|
| + compiler_hints,
|
| + optimization_disabled,
|
| + kOptimizationDisabled)
|
|
|
|
|
| void SharedFunctionInfo::set_optimization_disabled(bool disable) {
|
| @@ -3019,16 +3017,10 @@ void SharedFunctionInfo::set_optimization_disabled(bool disable) {
|
| }
|
|
|
|
|
| -bool SharedFunctionInfo::strict_mode() {
|
| - return BooleanBit::get(compiler_hints(), kStrictModeFunction);
|
| -}
|
| -
|
| -
|
| -void SharedFunctionInfo::set_strict_mode(bool value) {
|
| - set_compiler_hints(BooleanBit::set(compiler_hints(),
|
| - kStrictModeFunction,
|
| - value));
|
| -}
|
| +BOOL_ACCESSORS(SharedFunctionInfo,
|
| + compiler_hints,
|
| + strict_mode,
|
| + kStrictModeFunction)
|
|
|
|
|
| ACCESSORS(CodeCache, default_cache, FixedArray, kDefaultCacheOffset)
|
|
|