| Index: src/objects.h
|
| diff --git a/src/objects.h b/src/objects.h
|
| index 571ebb6cab33b5e2136db0f5904dab7023473fa7..1bcb627f01b30352c660c093bfaadc0e5cc2f183 100644
|
| --- a/src/objects.h
|
| +++ b/src/objects.h
|
| @@ -4730,13 +4730,6 @@ class SharedFunctionInfo: public HeapObject {
|
| inline bool native();
|
| inline void set_native(bool value);
|
|
|
| - // Indicates that the function was created by the Function function.
|
| - // Though it's anonymous, toString should treat it as if it had the name
|
| - // "anonymous". We don't set the name itself so that the system does not
|
| - // see a binding for it.
|
| - inline bool name_should_print_as_anonymous();
|
| - inline void set_name_should_print_as_anonymous(bool flag);
|
| -
|
| // Indicates whether the function is a bound function created using
|
| // the bind function.
|
| inline bool bound();
|
| @@ -4922,6 +4915,7 @@ class SharedFunctionInfo: public HeapObject {
|
| // Bit positions in compiler_hints.
|
| static const int kCodeAgeSize = 3;
|
| static const int kCodeAgeMask = (1 << kCodeAgeSize) - 1;
|
| + static const int kBoundFunction = 9;
|
|
|
| enum CompilerHints {
|
| kHasOnlySimpleThisPropertyAssignments,
|
| @@ -4932,10 +4926,7 @@ class SharedFunctionInfo: public HeapObject {
|
| kStrictModeFunction,
|
| kUsesArguments,
|
| kHasDuplicateParameters,
|
| - kNative,
|
| - kBoundFunction,
|
| - kNameShouldPrintAsAnonymous,
|
| - kCompilerHintsCount // Pseudo entry
|
| + kNative
|
| };
|
|
|
| private:
|
| @@ -4949,9 +4940,6 @@ class SharedFunctionInfo: public HeapObject {
|
| static const int kCompilerHintsSize = kIntSize;
|
| #endif
|
|
|
| - STATIC_ASSERT(SharedFunctionInfo::kCompilerHintsCount <=
|
| - SharedFunctionInfo::kCompilerHintsSize * kBitsPerByte);
|
| -
|
| public:
|
| // Constants for optimizing codegen for strict mode function and
|
| // native tests.
|
|
|