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

Side by Side Diff: src/factory.h

Issue 14200035: Rollback of r13728 in 3.17 branch. (Closed) Base URL: https://v8.googlecode.com/svn/branches/3.17
Patch Set: Created 7 years, 8 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/bootstrapper.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 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 // Global objects are pretenured. 276 // Global objects are pretenured.
277 Handle<GlobalObject> NewGlobalObject(Handle<JSFunction> constructor); 277 Handle<GlobalObject> NewGlobalObject(Handle<JSFunction> constructor);
278 278
279 // JS objects are pretenured when allocated by the bootstrapper and 279 // JS objects are pretenured when allocated by the bootstrapper and
280 // runtime. 280 // runtime.
281 Handle<JSObject> NewJSObjectFromMap(Handle<Map> map, 281 Handle<JSObject> NewJSObjectFromMap(Handle<Map> map);
282 PretenureFlag pretenure = NOT_TENURED);
283 282
284 // JS modules are pretenured. 283 // JS modules are pretenured.
285 Handle<JSModule> NewJSModule(Handle<Context> context, 284 Handle<JSModule> NewJSModule(Handle<Context> context,
286 Handle<ScopeInfo> scope_info); 285 Handle<ScopeInfo> scope_info);
287 286
288 // JS arrays are pretenured when allocated by the parser. 287 // JS arrays are pretenured when allocated by the parser.
289 Handle<JSArray> NewJSArray( 288 Handle<JSArray> NewJSArray(
290 int capacity, 289 int capacity,
291 ElementsKind elements_kind = TERMINAL_FAST_ELEMENTS_KIND, 290 ElementsKind elements_kind = TERMINAL_FAST_ELEMENTS_KIND,
292 PretenureFlag pretenure = NOT_TENURED); 291 PretenureFlag pretenure = NOT_TENURED);
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
521 // Update the map cache in the native context with (keys, map) 520 // Update the map cache in the native context with (keys, map)
522 Handle<MapCache> AddToMapCache(Handle<Context> context, 521 Handle<MapCache> AddToMapCache(Handle<Context> context,
523 Handle<FixedArray> keys, 522 Handle<FixedArray> keys,
524 Handle<Map> map); 523 Handle<Map> map);
525 }; 524 };
526 525
527 526
528 } } // namespace v8::internal 527 } } // namespace v8::internal
529 528
530 #endif // V8_FACTORY_H_ 529 #endif // V8_FACTORY_H_
OLDNEW
« no previous file with comments | « src/bootstrapper.cc ('k') | src/factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698