| Index: src/objects.h
|
| diff --git a/src/objects.h b/src/objects.h
|
| index 2f10caf01cf6fdaae4f187917b053f2767769723..d7b13e1feb3576eadab8ad571b25863e8e743680 100644
|
| --- a/src/objects.h
|
| +++ b/src/objects.h
|
| @@ -7105,11 +7105,6 @@ class Script: public Struct {
|
| inline CompilationState compilation_state();
|
| inline void set_compilation_state(CompilationState state);
|
|
|
| - // [hide_source]: determines whether the script source can be exposed as
|
| - // function source. Encoded in the 'flags' field.
|
| - inline bool hide_source();
|
| - inline void set_hide_source(bool value);
|
| -
|
| // [origin_options]: optional attributes set by the embedder via ScriptOrigin,
|
| // and used by the embedder to make decisions about the script. V8 just passes
|
| // this through. Encoded in the 'flags' field.
|
| @@ -7210,8 +7205,7 @@ class Script: public Struct {
|
| // Bit positions in the flags field.
|
| static const int kCompilationTypeBit = 0;
|
| static const int kCompilationStateBit = 1;
|
| - static const int kHideSourceBit = 2;
|
| - static const int kOriginOptionsShift = 3;
|
| + static const int kOriginOptionsShift = 2;
|
| static const int kOriginOptionsSize = 3;
|
| static const int kOriginOptionsMask = ((1 << kOriginOptionsSize) - 1)
|
| << kOriginOptionsShift;
|
| @@ -7727,8 +7721,8 @@ class SharedFunctionInfo: public HeapObject {
|
| // Tells whether this function should be subject to debugging.
|
| inline bool IsSubjectToDebugging();
|
|
|
| - // Whether this function is defined in native code or extensions.
|
| - inline bool IsBuiltin();
|
| + // Whether this function is defined in user-provided JavaScript code.
|
| + inline bool IsUserJavaScript();
|
|
|
| // Check whether or not this function is inlineable.
|
| bool IsInlineable();
|
|
|