| Index: src/objects.h
|
| diff --git a/src/objects.h b/src/objects.h
|
| index b067c38da1087715717bfaea2442601df82c3318..e0ba52cf01d16b88b0c80a21578cadd95f0511e3 100644
|
| --- a/src/objects.h
|
| +++ b/src/objects.h
|
| @@ -3514,10 +3514,6 @@ class Code: public HeapObject {
|
| void CodeVerify();
|
| #endif
|
|
|
| - // Returns the isolate/heap this code object belongs to.
|
| - inline Isolate* isolate();
|
| - inline Heap* heap();
|
| -
|
| // Max loop nesting marker used to postpose OSR. We don't take loop
|
| // nesting that is deeper than 5 levels into account.
|
| static const int kMaxLoopNestingMarker = 6;
|
| @@ -4284,6 +4280,8 @@ class SharedFunctionInfo: public HeapObject {
|
| // this.x = y; where y is either a constant or refers to an argument.
|
| inline bool has_only_simple_this_property_assignments();
|
|
|
| + DECL_BOOLEAN_ACCESSORS(try_full_codegen)
|
| +
|
| // Indicates if this function can be lazy compiled.
|
| // This is used to determine if we can safely flush code from a function
|
| // when doing GC if we expect that the function will no longer be used.
|
| @@ -4483,12 +4481,14 @@ class SharedFunctionInfo: public HeapObject {
|
|
|
| // Bit positions in compiler_hints.
|
| static const int kHasOnlySimpleThisPropertyAssignments = 0;
|
| - static const int kAllowLazyCompilation = 1;
|
| - static const int kLiveObjectsMayExist = 2;
|
| - static const int kCodeAgeShift = 3;
|
| + static const int kTryFullCodegen = 1;
|
| + static const int kAllowLazyCompilation = 2;
|
| + static const int kLiveObjectsMayExist = 3;
|
| + static const int kCodeAgeShift = 4;
|
| static const int kCodeAgeMask = 0x7;
|
| - static const int kOptimizationDisabled = 6;
|
| - static const int kStrictModeFunction = 7;
|
| + static const int kOptimizationDisabled = 7;
|
| + static const int kStrictModeFunction = 8;
|
| + static const int kUsesArguments = 9;
|
|
|
| private:
|
| #if V8_HOST_ARCH_32_BIT
|
| @@ -6034,10 +6034,6 @@ class JSGlobalPropertyCell: public HeapObject {
|
| kValueOffset + kPointerSize,
|
| kSize> BodyDescriptor;
|
|
|
| - // Returns the isolate/heap this cell object belongs to.
|
| - inline Isolate* isolate();
|
| - inline Heap* heap();
|
| -
|
| private:
|
| DISALLOW_IMPLICIT_CONSTRUCTORS(JSGlobalPropertyCell);
|
| };
|
|
|