Index: src/objects-inl.h |
=================================================================== |
--- src/objects-inl.h (revision 11828) |
+++ src/objects-inl.h (working copy) |
@@ -1616,8 +1616,7 @@ |
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 @@ |
} |
-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)); |
} |