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

Side by Side Diff: src/factory.h

Issue 15094018: Create AllocationSite objects, pointed to by AllocationSiteInfo. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Comment response Created 7 years, 5 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/code-stubs-hydrogen.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 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 Handle<ExternalArray> NewExternalArray( 236 Handle<ExternalArray> NewExternalArray(
237 int length, 237 int length,
238 ExternalArrayType array_type, 238 ExternalArrayType array_type,
239 void* external_pointer, 239 void* external_pointer,
240 PretenureFlag pretenure = NOT_TENURED); 240 PretenureFlag pretenure = NOT_TENURED);
241 241
242 Handle<Cell> NewCell(Handle<Object> value); 242 Handle<Cell> NewCell(Handle<Object> value);
243 243
244 Handle<PropertyCell> NewPropertyCell(Handle<Object> value); 244 Handle<PropertyCell> NewPropertyCell(Handle<Object> value);
245 245
246 Handle<AllocationSite> NewAllocationSite();
247
246 Handle<Map> NewMap( 248 Handle<Map> NewMap(
247 InstanceType type, 249 InstanceType type,
248 int instance_size, 250 int instance_size,
249 ElementsKind elements_kind = TERMINAL_FAST_ELEMENTS_KIND); 251 ElementsKind elements_kind = TERMINAL_FAST_ELEMENTS_KIND);
250 252
251 Handle<JSObject> NewFunctionPrototype(Handle<JSFunction> function); 253 Handle<JSObject> NewFunctionPrototype(Handle<JSFunction> function);
252 254
253 Handle<Map> CopyWithPreallocatedFieldDescriptors(Handle<Map> map); 255 Handle<Map> CopyWithPreallocatedFieldDescriptors(Handle<Map> map);
254 256
255 // Copy the map adding more inobject properties if possible without 257 // Copy the map adding more inobject properties if possible without
(...skipping 381 matching lines...) Expand 10 before | Expand all | Expand 10 after
637 } 639 }
638 640
639 private: 641 private:
640 Isolate* isolate_; 642 Isolate* isolate_;
641 }; 643 };
642 644
643 645
644 } } // namespace v8::internal 646 } } // namespace v8::internal
645 647
646 #endif // V8_FACTORY_H_ 648 #endif // V8_FACTORY_H_
OLDNEW
« no previous file with comments | « src/code-stubs-hydrogen.cc ('k') | src/factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698