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

Side by Side Diff: src/factory.h

Issue 10816005: Swapped transition array and descriptor array. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: u Created 8 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
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 Handle<UnseededNumberDictionary> NewUnseededNumberDictionary( 60 Handle<UnseededNumberDictionary> NewUnseededNumberDictionary(
61 int at_least_space_for); 61 int at_least_space_for);
62 62
63 Handle<StringDictionary> NewStringDictionary(int at_least_space_for); 63 Handle<StringDictionary> NewStringDictionary(int at_least_space_for);
64 64
65 Handle<ObjectHashSet> NewObjectHashSet(int at_least_space_for); 65 Handle<ObjectHashSet> NewObjectHashSet(int at_least_space_for);
66 66
67 Handle<ObjectHashTable> NewObjectHashTable(int at_least_space_for); 67 Handle<ObjectHashTable> NewObjectHashTable(int at_least_space_for);
68 68
69 Handle<DescriptorArray> NewDescriptorArray(int number_of_descriptors); 69 Handle<DescriptorArray> NewDescriptorArray(int number_of_descriptors);
70 void SetDescriptors(Handle<Map> map, Handle<DescriptorArray> descriptors);
70 Handle<DeoptimizationInputData> NewDeoptimizationInputData( 71 Handle<DeoptimizationInputData> NewDeoptimizationInputData(
71 int deopt_entry_count, 72 int deopt_entry_count,
72 PretenureFlag pretenure); 73 PretenureFlag pretenure);
73 Handle<DeoptimizationOutputData> NewDeoptimizationOutputData( 74 Handle<DeoptimizationOutputData> NewDeoptimizationOutputData(
74 int deopt_entry_count, 75 int deopt_entry_count,
75 PretenureFlag pretenure); 76 PretenureFlag pretenure);
76 // Allocates a pre-tenured empty AccessorPair. 77 // Allocates a pre-tenured empty AccessorPair.
77 Handle<AccessorPair> NewAccessorPair(); 78 Handle<AccessorPair> NewAccessorPair();
78 79
79 Handle<TypeFeedbackInfo> NewTypeFeedbackInfo(); 80 Handle<TypeFeedbackInfo> NewTypeFeedbackInfo();
(...skipping 422 matching lines...) Expand 10 before | Expand all | Expand 10 after
502 // Update the map cache in the global context with (keys, map) 503 // Update the map cache in the global context with (keys, map)
503 Handle<MapCache> AddToMapCache(Handle<Context> context, 504 Handle<MapCache> AddToMapCache(Handle<Context> context,
504 Handle<FixedArray> keys, 505 Handle<FixedArray> keys,
505 Handle<Map> map); 506 Handle<Map> map);
506 }; 507 };
507 508
508 509
509 } } // namespace v8::internal 510 } } // namespace v8::internal
510 511
511 #endif // V8_FACTORY_H_ 512 #endif // V8_FACTORY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698