Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 30c3f63ea385178dd4ad7508afd388ac22d0515b..4950956e72c281fbf42f0e7aad1e74b4334eb2be 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -9191,11 +9191,17 @@ class PropertyCell: public Cell { |
// a change of the type of the cell's contents, code dependent on the cell |
// will be deoptimized. |
static void SetValueInferType(Handle<PropertyCell> cell, |
- Handle<Object> value, |
- WriteBarrierMode mode = UPDATE_WRITE_BARRIER); |
- MUST_USE_RESULT MaybeObject* SetValueInferType( |
- Object* value, |
- WriteBarrierMode mode = UPDATE_WRITE_BARRIER); |
+ Handle<Object> value); |
+ |
+ // Computes the new type of the cell's contents for the given value, but |
+ // without actually modifying the 'type' field. |
+ // TODO(mstarzinger): Return value should be handlified. |
+ static Type* UpdatedType(Handle<PropertyCell> cell, |
+ Handle<Object> value); |
+ |
+ void AddDependentCompilationInfo(CompilationInfo* info); |
+ |
+ void AddDependentCode(Handle<Code> code); |
// Casting. |
static inline PropertyCell* cast(Object* obj); |
@@ -9220,13 +9226,6 @@ class PropertyCell: public Cell { |
kSize, |
kSize> BodyDescriptor; |
- void AddDependentCompilationInfo(CompilationInfo* info); |
- |
- void AddDependentCode(Handle<Code> code); |
- |
- static Type* UpdateType(Handle<PropertyCell> cell, |
- Handle<Object> value); |
- |
private: |
DECL_ACCESSORS(type_raw, Object) |
DISALLOW_IMPLICIT_CONSTRUCTORS(PropertyCell); |