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

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: Rebase Created 7 years, 10 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 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
276 // Global objects are pretenured. 280 // Global objects are pretenured.
277 Handle<GlobalObject> NewGlobalObject(Handle<JSFunction> constructor); 281 Handle<GlobalObject> NewGlobalObject(Handle<JSFunction> constructor);
278 282
279 // JS objects are pretenured when allocated by the bootstrapper and 283 // JS objects are pretenured when allocated by the bootstrapper and
280 // runtime. 284 // runtime.
281 Handle<JSObject> NewJSObjectFromMap(Handle<Map> map); 285 Handle<JSObject> NewJSObjectFromMap(Handle<Map> map);
282 286
283 // JS modules are pretenured. 287 // JS modules are pretenured.
284 Handle<JSModule> NewJSModule(Handle<Context> context, 288 Handle<JSModule> NewJSModule(Handle<Context> context,
285 Handle<ScopeInfo> scope_info); 289 Handle<ScopeInfo> scope_info);
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
520 // Update the map cache in the native context with (keys, map) 524 // Update the map cache in the native context with (keys, map)
521 Handle<MapCache> AddToMapCache(Handle<Context> context, 525 Handle<MapCache> AddToMapCache(Handle<Context> context,
522 Handle<FixedArray> keys, 526 Handle<FixedArray> keys,
523 Handle<Map> map); 527 Handle<Map> map);
524 }; 528 };
525 529
526 530
527 } } // namespace v8::internal 531 } } // namespace v8::internal
528 532
529 #endif // V8_FACTORY_H_ 533 #endif // V8_FACTORY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698