Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index da1a35b08be6659e7fe3806ef7f64891b787d410..4f66af28aa7506870f9e54e9b97a7fd5f7ffe3a1 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -1616,8 +1616,7 @@ bool JSObject::TooManyFastProperties(int properties, |
int inobject = map()->inobject_properties(); |
int limit; |
- if (store_mode == CERTAINLY_NOT_STORE_FROM_KEYED || |
- map()->used_for_prototype()) { |
+ if (store_mode == CERTAINLY_NOT_STORE_FROM_KEYED) { |
limit = Max(inobject, kMaxFastProperties); |
} else { |
limit = Max(inobject, kFastPropertiesSoftLimit); |
@@ -2982,20 +2981,6 @@ bool Map::is_shared() { |
} |
-void Map::set_used_for_prototype(bool value) { |
- if (value) { |
- set_bit_field3(bit_field3() | (1 << kUsedForPrototype)); |
- } else { |
- set_bit_field3(bit_field3() & ~(1 << kUsedForPrototype)); |
- } |
-} |
- |
- |
-bool Map::used_for_prototype() { |
- return ((1 << kUsedForPrototype) & bit_field3()) != 0; |
-} |
- |
- |
JSFunction* Map::unchecked_constructor() { |
return reinterpret_cast<JSFunction*>(READ_FIELD(this, kConstructorOffset)); |
} |