| Index: src/factory.h
|
| diff --git a/src/factory.h b/src/factory.h
|
| index 6a9ee5506a98fa065580a9ed65548823e50ab950..44bb1be5317aa1ddf9ca19c1e06099ae9916b21f 100644
|
| --- a/src/factory.h
|
| +++ b/src/factory.h
|
| @@ -643,10 +643,11 @@ class Factory FINAL {
|
|
|
| Handle<DebugInfo> NewDebugInfo(Handle<SharedFunctionInfo> shared);
|
|
|
| - // Return a map using the map cache in the native context.
|
| - // The key the an ordered set of property names.
|
| + // Return a map for given number of properties using the map cache in the
|
| + // native context.
|
| Handle<Map> ObjectLiteralMapFromCache(Handle<Context> context,
|
| - Handle<FixedArray> keys);
|
| + int number_of_properties,
|
| + bool* is_result_from_cache);
|
|
|
| // Creates a new FixedArray that holds the data associated with the
|
| // atom regexp and stores it in the regexp.
|
| @@ -689,14 +690,6 @@ class Factory FINAL {
|
| // Creates a code object that is not yet fully initialized yet.
|
| inline Handle<Code> NewCodeRaw(int object_size, bool immovable);
|
|
|
| - // Create a new map cache.
|
| - Handle<MapCache> NewMapCache(int at_least_space_for);
|
| -
|
| - // Update the map cache in the native context with (keys, map)
|
| - Handle<MapCache> AddToMapCache(Handle<Context> context,
|
| - Handle<FixedArray> keys,
|
| - Handle<Map> map);
|
| -
|
| // Attempt to find the number in a small cache. If we finds it, return
|
| // the string representation of the number. Otherwise return undefined.
|
| Handle<Object> GetNumberStringCache(Handle<Object> number);
|
|
|