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

Side by Side Diff: src/factory.h

Issue 7385006: Reintroduced dictionary that can use objects as keys. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Incorporated review by Vitaly Repeshko. Created 9 years, 4 months 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
« no previous file with comments | « src/api.cc ('k') | src/factory.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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<FixedArray> NewFixedDoubleArray( 53 Handle<FixedArray> 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<ObjectHashTable> NewObjectHashTable(int at_least_space_for);
62
61 Handle<DescriptorArray> NewDescriptorArray(int number_of_descriptors); 63 Handle<DescriptorArray> NewDescriptorArray(int number_of_descriptors);
62 Handle<DeoptimizationInputData> NewDeoptimizationInputData( 64 Handle<DeoptimizationInputData> NewDeoptimizationInputData(
63 int deopt_entry_count, 65 int deopt_entry_count,
64 PretenureFlag pretenure); 66 PretenureFlag pretenure);
65 Handle<DeoptimizationOutputData> NewDeoptimizationOutputData( 67 Handle<DeoptimizationOutputData> NewDeoptimizationOutputData(
66 int deopt_entry_count, 68 int deopt_entry_count,
67 PretenureFlag pretenure); 69 PretenureFlag pretenure);
68 70
69 Handle<String> LookupSymbol(Vector<const char> str); 71 Handle<String> LookupSymbol(Vector<const char> str);
70 Handle<String> LookupSymbol(Handle<String> str); 72 Handle<String> LookupSymbol(Handle<String> str);
(...skipping 381 matching lines...) Expand 10 before | Expand all | Expand 10 after
452 // Update the map cache in the global context with (keys, map) 454 // Update the map cache in the global context with (keys, map)
453 Handle<MapCache> AddToMapCache(Handle<Context> context, 455 Handle<MapCache> AddToMapCache(Handle<Context> context,
454 Handle<FixedArray> keys, 456 Handle<FixedArray> keys,
455 Handle<Map> map); 457 Handle<Map> map);
456 }; 458 };
457 459
458 460
459 } } // namespace v8::internal 461 } } // namespace v8::internal
460 462
461 #endif // V8_FACTORY_H_ 463 #endif // V8_FACTORY_H_
OLDNEW
« no previous file with comments | « src/api.cc ('k') | src/factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698