Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(183)

Side by Side Diff: src/factory.h

Issue 8372027: Implement Harmony sets and maps. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed comments by Andreas Rossberg. Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 51
52 // Allocate a new uninitialized fixed double array. 52 // Allocate a new uninitialized fixed double array.
53 Handle<FixedDoubleArray> NewFixedDoubleArray( 53 Handle<FixedDoubleArray> NewFixedDoubleArray(
54 int size, 54 int size,
55 PretenureFlag pretenure = NOT_TENURED); 55 PretenureFlag pretenure = NOT_TENURED);
56 56
57 Handle<NumberDictionary> NewNumberDictionary(int at_least_space_for); 57 Handle<NumberDictionary> NewNumberDictionary(int at_least_space_for);
58 58
59 Handle<StringDictionary> NewStringDictionary(int at_least_space_for); 59 Handle<StringDictionary> NewStringDictionary(int at_least_space_for);
60 60
61 Handle<ObjectHashSet> NewObjectHashSet(int at_least_space_for);
62
61 Handle<ObjectHashTable> NewObjectHashTable(int at_least_space_for); 63 Handle<ObjectHashTable> NewObjectHashTable(int at_least_space_for);
62 64
63 Handle<DescriptorArray> NewDescriptorArray(int number_of_descriptors); 65 Handle<DescriptorArray> NewDescriptorArray(int number_of_descriptors);
64 Handle<DeoptimizationInputData> NewDeoptimizationInputData( 66 Handle<DeoptimizationInputData> NewDeoptimizationInputData(
65 int deopt_entry_count, 67 int deopt_entry_count,
66 PretenureFlag pretenure); 68 PretenureFlag pretenure);
67 Handle<DeoptimizationOutputData> NewDeoptimizationOutputData( 69 Handle<DeoptimizationOutputData> NewDeoptimizationOutputData(
68 int deopt_entry_count, 70 int deopt_entry_count,
69 PretenureFlag pretenure); 71 PretenureFlag pretenure);
70 72
(...skipping 406 matching lines...) Expand 10 before | Expand all | Expand 10 after
477 // Update the map cache in the global context with (keys, map) 479 // Update the map cache in the global context with (keys, map)
478 Handle<MapCache> AddToMapCache(Handle<Context> context, 480 Handle<MapCache> AddToMapCache(Handle<Context> context,
479 Handle<FixedArray> keys, 481 Handle<FixedArray> keys,
480 Handle<Map> map); 482 Handle<Map> map);
481 }; 483 };
482 484
483 485
484 } } // namespace v8::internal 486 } } // namespace v8::internal
485 487
486 #endif // V8_FACTORY_H_ 488 #endif // V8_FACTORY_H_
OLDNEW
« no previous file with comments | « src/collection.js ('k') | src/factory.cc » ('j') | src/flag-definitions.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698