Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index c5f7217df2a5127722423ec33ca03715ced5a700..785fa987b71fda3665c638c524f59a7edfc37fc3 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -875,23 +875,16 @@ |
class AllocationSite; |
class AllocationSiteCreationContext; |
class AllocationSiteUsageContext; |
-class Cell; |
class ConsString; |
class DictionaryElementsAccessor; |
class ElementsAccessor; |
class FixedArrayBase; |
class FunctionLiteral; |
class GlobalObject; |
-class JSBuiltinsObject; |
class LayoutDescriptor; |
class LookupIterator; |
-class ObjectHashTable; |
class ObjectVisitor; |
-class PropertyCell; |
-class SafepointEntry; |
-class SharedFunctionInfo; |
class StringStream; |
-class TypeFeedbackInfo; |
class TypeFeedbackVector; |
class WeakCell; |
@@ -1740,6 +1733,9 @@ |
DISALLOW_IMPLICIT_CONSTRUCTORS(JSReceiver); |
}; |
+// Forward declaration for JSObject::GetOrCreateHiddenPropertiesHashTable. |
+class ObjectHashTable; |
+ |
// The JSObject describes real heap allocated JavaScript objects with |
// properties. |
@@ -4850,6 +4846,12 @@ |
}; |
+// Forward declaration. |
+class Cell; |
+class PropertyCell; |
+class SafepointEntry; |
+class TypeFeedbackInfo; |
+ |
// Code describes objects with on-the-fly generated machine code. |
class Code: public HeapObject { |
public: |
@@ -6413,10 +6415,6 @@ |
// function from which eval was called where eval was called. |
DECL_ACCESSORS(eval_from_instructions_offset, Smi) |
- // [shared_function_infos]: weak fixed array containing all shared |
- // function infos created from this script. |
- DECL_ACCESSORS(shared_function_infos, Object) |
- |
// [flags]: Holds an exciting bitfield. |
DECL_ACCESSORS(flags, Smi) |
@@ -6463,10 +6461,6 @@ |
// Get the JS object wrapping the given script; create it if none exists. |
static Handle<JSObject> GetWrapper(Handle<Script> script); |
- |
- // Look through the list of existing shared function infos to find one |
- // that matches the function literal. Return empty handle if not found. |
- MaybeHandle<SharedFunctionInfo> FindSharedFunctionInfo(FunctionLiteral* fun); |
// Dispatched behavior. |
DECLARE_PRINTER(Script) |
@@ -6484,9 +6478,8 @@ |
static const int kEvalFromSharedOffset = kIdOffset + kPointerSize; |
static const int kEvalFrominstructionsOffsetOffset = |
kEvalFromSharedOffset + kPointerSize; |
- static const int kSharedFunctionInfosOffset = |
+ static const int kFlagsOffset = |
kEvalFrominstructionsOffsetOffset + kPointerSize; |
- static const int kFlagsOffset = kSharedFunctionInfosOffset + kPointerSize; |
static const int kSourceUrlOffset = kFlagsOffset + kPointerSize; |
static const int kSourceMappingUrlOffset = kSourceUrlOffset + kPointerSize; |
static const int kSize = kSourceMappingUrlOffset + kPointerSize; |
@@ -6617,11 +6610,6 @@ |
Handle<FixedArray> literals, |
BailoutId osr_ast_id); |
- // Set up the link between shared function info and the script. The shared |
- // function info is added to the list on the script. |
- static void SetScript(Handle<SharedFunctionInfo> shared, |
- Handle<Object> script_object); |
- |
// Layout description of the optimized code map. |
static const int kNextMapIndex = 0; |
static const int kEntriesStart = 1; |
@@ -6834,9 +6822,6 @@ |
// Indicates that the the shared function info is deserialized from cache. |
DECL_BOOLEAN_ACCESSORS(deserialized) |
- |
- // Indicates that the the shared function info has never been compiled before. |
- DECL_BOOLEAN_ACCESSORS(never_compiled) |
inline FunctionKind kind(); |
inline void set_kind(FunctionKind kind); |
@@ -7087,7 +7072,6 @@ |
kInClassLiteral, |
kIsAsmFunction, |
kDeserialized, |
- kNeverCompiled, |
kCompilerHintsCount // Pseudo entry |
}; |
// Add hints for other modes when they're added. |
@@ -7504,6 +7488,9 @@ |
DISALLOW_IMPLICIT_CONSTRUCTORS(JSGlobalProxy); |
}; |
+ |
+// Forward declaration. |
+class JSBuiltinsObject; |
// Common super class for JavaScript global objects and the special |
// builtins global objects. |