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

Side by Side Diff: src/factory.h

Issue 6614010: [Isolates] Merge 6700:7030 from bleeding_edge to isolates. (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/isolates/
Patch Set: '' Created 9 years, 9 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/execution.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 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 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 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 // Copy the map adding more inobject properties if possible without 190 // Copy the map adding more inobject properties if possible without
191 // overflowing the instance size. 191 // overflowing the instance size.
192 Handle<Map> CopyMap(Handle<Map> map, int extra_inobject_props); 192 Handle<Map> CopyMap(Handle<Map> map, int extra_inobject_props);
193 193
194 Handle<Map> CopyMapDropTransitions(Handle<Map> map); 194 Handle<Map> CopyMapDropTransitions(Handle<Map> map);
195 195
196 Handle<Map> GetFastElementsMap(Handle<Map> map); 196 Handle<Map> GetFastElementsMap(Handle<Map> map);
197 197
198 Handle<Map> GetSlowElementsMap(Handle<Map> map); 198 Handle<Map> GetSlowElementsMap(Handle<Map> map);
199 199
200 Handle<Map> GetPixelArrayElementsMap(Handle<Map> map);
201
200 Handle<FixedArray> CopyFixedArray(Handle<FixedArray> array); 202 Handle<FixedArray> CopyFixedArray(Handle<FixedArray> array);
201 203
202 // Numbers (eg, literals) are pretenured by the parser. 204 // Numbers (eg, literals) are pretenured by the parser.
203 Handle<Object> NewNumber(double value, 205 Handle<Object> NewNumber(double value,
204 PretenureFlag pretenure = NOT_TENURED); 206 PretenureFlag pretenure = NOT_TENURED);
205 207
206 Handle<Object> NewNumberFromInt(int value); 208 Handle<Object> NewNumberFromInt(int value);
207 Handle<Object> NewNumberFromUint(uint32_t value); 209 Handle<Object> NewNumberFromUint(uint32_t value);
208 210
209 // These objects are used by the api to create env-independent data 211 // These objects are used by the api to create env-independent data
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
424 // Update the map cache in the global context with (keys, map) 426 // Update the map cache in the global context with (keys, map)
425 Handle<MapCache> AddToMapCache(Handle<Context> context, 427 Handle<MapCache> AddToMapCache(Handle<Context> context,
426 Handle<FixedArray> keys, 428 Handle<FixedArray> keys,
427 Handle<Map> map); 429 Handle<Map> map);
428 }; 430 };
429 431
430 432
431 } } // namespace v8::internal 433 } } // namespace v8::internal
432 434
433 #endif // V8_FACTORY_H_ 435 #endif // V8_FACTORY_H_
OLDNEW
« no previous file with comments | « src/execution.cc ('k') | src/factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698