| Index: src/objects.h
|
| diff --git a/src/objects.h b/src/objects.h
|
| index cdeb17aa5e41f07db80e32614ec94507e250d05f..2f7a6faf6a7d5864eefe4bc67bfdb17688e2f52d 100644
|
| --- a/src/objects.h
|
| +++ b/src/objects.h
|
| @@ -1234,6 +1234,8 @@ class MaybeObject BASE_EMBEDDED {
|
| V(kNonSmiValue, "Non-smi value") \
|
| V(kNotEnoughVirtualRegistersForValues, \
|
| "not enough virtual registers for values") \
|
| + V(kNotEnoughSpillSlotsForOsr, \
|
| + "not enough spill slots for OSR") \
|
| V(kNotEnoughVirtualRegistersRegalloc, \
|
| "not enough virtual registers (regalloc)") \
|
| V(kObjectFoundInSmiOnlyArray, "object found in smi-only array") \
|
| @@ -2260,7 +2262,6 @@ class JSObject: public JSReceiver {
|
| PropertyDetails details);
|
|
|
| static void OptimizeAsPrototype(Handle<JSObject> object);
|
| - MUST_USE_RESULT MaybeObject* OptimizeAsPrototype();
|
|
|
| // Retrieve interceptors.
|
| InterceptorInfo* GetNamedInterceptor();
|
| @@ -2354,7 +2355,7 @@ class JSObject: public JSReceiver {
|
| inline void ValidateElements();
|
|
|
| // Makes sure that this object can contain HeapObject as elements.
|
| - MUST_USE_RESULT inline MaybeObject* EnsureCanContainHeapObjectElements();
|
| + static inline void EnsureCanContainHeapObjectElements(Handle<JSObject> obj);
|
|
|
| // Makes sure that this object can contain the specified elements.
|
| MUST_USE_RESULT inline MaybeObject* EnsureCanContainElements(
|
| @@ -2609,8 +2610,6 @@ class JSObject: public JSReceiver {
|
| Handle<Name> name,
|
| Handle<Code> code);
|
|
|
| - MUST_USE_RESULT MaybeObject* UpdateMapCodeCache(Name* name, Code* code);
|
| -
|
| // Transform slow named properties to fast variants.
|
| // Returns failure if allocation failed.
|
| static void TransformToFastProperties(Handle<JSObject> object,
|
| @@ -5834,6 +5833,9 @@ class Map: public HeapObject {
|
| TransitionFlag flag);
|
| MUST_USE_RESULT MaybeObject* CopyForObserved();
|
|
|
| + static Handle<Map> CopyNormalized(Handle<Map> map,
|
| + PropertyNormalizationMode mode,
|
| + NormalizedMapSharingMode sharing);
|
| MUST_USE_RESULT MaybeObject* CopyNormalized(PropertyNormalizationMode mode,
|
| NormalizedMapSharingMode sharing);
|
|
|
| @@ -7016,8 +7018,10 @@ class JSFunction: public JSObject {
|
| ClearExceptionFlag flag);
|
| static bool CompileLazy(Handle<JSFunction> function,
|
| ClearExceptionFlag flag);
|
| + static Handle<Code> CompileOsr(Handle<JSFunction> function,
|
| + BailoutId osr_ast_id,
|
| + ClearExceptionFlag flag);
|
| static bool CompileOptimized(Handle<JSFunction> function,
|
| - BailoutId osr_ast_id,
|
| ClearExceptionFlag flag);
|
|
|
| // Tells whether or not the function is already marked for lazy
|
|
|