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

Side by Side Diff: src/factory.h

Issue 11818021: Allocation Info Tracking, continued. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: A partial delta against Toon's previous review Created 7 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/elements.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 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 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 // structures in the heap. 266 // structures in the heap.
267 Handle<JSObject> NewNeanderObject(); 267 Handle<JSObject> NewNeanderObject();
268 268
269 Handle<JSObject> NewArgumentsObject(Handle<Object> callee, int length); 269 Handle<JSObject> NewArgumentsObject(Handle<Object> callee, int length);
270 270
271 // JS objects are pretenured when allocated by the bootstrapper and 271 // JS objects are pretenured when allocated by the bootstrapper and
272 // runtime. 272 // runtime.
273 Handle<JSObject> NewJSObject(Handle<JSFunction> constructor, 273 Handle<JSObject> NewJSObject(Handle<JSFunction> constructor,
274 PretenureFlag pretenure = NOT_TENURED); 274 PretenureFlag pretenure = NOT_TENURED);
275 275
276 Handle<JSObject> NewJSObjectWithAllocationSiteInfo(
277 Handle<JSFunction> constructor,
278 Handle<Object> payload);
279
280 // Global objects are pretenured. 276 // Global objects are pretenured.
281 Handle<GlobalObject> NewGlobalObject(Handle<JSFunction> constructor); 277 Handle<GlobalObject> NewGlobalObject(Handle<JSFunction> constructor);
282 278
283 // JS objects are pretenured when allocated by the bootstrapper and 279 // JS objects are pretenured when allocated by the bootstrapper and
284 // runtime. 280 // runtime.
285 Handle<JSObject> NewJSObjectFromMap(Handle<Map> map, 281 Handle<JSObject> NewJSObjectFromMap(Handle<Map> map,
286 PretenureFlag pretenure = NOT_TENURED); 282 PretenureFlag pretenure = NOT_TENURED);
287 283
288 // JS modules are pretenured. 284 // JS modules are pretenured.
289 Handle<JSModule> NewJSModule(Handle<Context> context, 285 Handle<JSModule> NewJSModule(Handle<Context> context,
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after
525 // Update the map cache in the native context with (keys, map) 521 // Update the map cache in the native context with (keys, map)
526 Handle<MapCache> AddToMapCache(Handle<Context> context, 522 Handle<MapCache> AddToMapCache(Handle<Context> context,
527 Handle<FixedArray> keys, 523 Handle<FixedArray> keys,
528 Handle<Map> map); 524 Handle<Map> map);
529 }; 525 };
530 526
531 527
532 } } // namespace v8::internal 528 } } // namespace v8::internal
533 529
534 #endif // V8_FACTORY_H_ 530 #endif // V8_FACTORY_H_
OLDNEW
« no previous file with comments | « src/elements.cc ('k') | src/factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698