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

Side by Side Diff: src/factory.h

Issue 1256283003: Fully deprecate FixedArray::CopySize method. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@local_issue-cr-513507
Patch Set: Rebased. Created 5 years, 4 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
« no previous file with comments | « src/debug/debug-evaluate.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_FACTORY_H_ 5 #ifndef V8_FACTORY_H_
6 #define V8_FACTORY_H_ 6 #define V8_FACTORY_H_
7 7
8 #include "src/isolate.h" 8 #include "src/isolate.h"
9 #include "src/messages.h" 9 #include "src/messages.h"
10 10
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after
315 Handle<JSObject> NewFunctionPrototype(Handle<JSFunction> function); 315 Handle<JSObject> NewFunctionPrototype(Handle<JSFunction> function);
316 316
317 Handle<JSObject> CopyJSObject(Handle<JSObject> object); 317 Handle<JSObject> CopyJSObject(Handle<JSObject> object);
318 318
319 Handle<JSObject> CopyJSObjectWithAllocationSite(Handle<JSObject> object, 319 Handle<JSObject> CopyJSObjectWithAllocationSite(Handle<JSObject> object,
320 Handle<AllocationSite> site); 320 Handle<AllocationSite> site);
321 321
322 Handle<FixedArray> CopyFixedArrayWithMap(Handle<FixedArray> array, 322 Handle<FixedArray> CopyFixedArrayWithMap(Handle<FixedArray> array,
323 Handle<Map> map); 323 Handle<Map> map);
324 324
325 Handle<FixedArray> CopyFixedArrayAndGrow(Handle<FixedArray> array, 325 Handle<FixedArray> CopyFixedArrayAndGrow(
326 int grow_by); 326 Handle<FixedArray> array, int grow_by,
327 PretenureFlag pretenure = NOT_TENURED);
327 328
328 Handle<FixedArray> CopyFixedArray(Handle<FixedArray> array); 329 Handle<FixedArray> CopyFixedArray(Handle<FixedArray> array);
329 330
330 // This method expects a COW array in new space, and creates a copy 331 // This method expects a COW array in new space, and creates a copy
331 // of it in old space. 332 // of it in old space.
332 Handle<FixedArray> CopyAndTenureFixedCOWArray(Handle<FixedArray> array); 333 Handle<FixedArray> CopyAndTenureFixedCOWArray(Handle<FixedArray> array);
333 334
334 Handle<FixedDoubleArray> CopyFixedDoubleArray( 335 Handle<FixedDoubleArray> CopyFixedDoubleArray(
335 Handle<FixedDoubleArray> array); 336 Handle<FixedDoubleArray> array);
336 337
(...skipping 415 matching lines...) Expand 10 before | Expand all | Expand 10 after
752 // Reinitialize a JSProxy into an (empty) JS object of respective type and 753 // Reinitialize a JSProxy into an (empty) JS object of respective type and
753 // size, but keeping the original prototype. The receiver must have at least 754 // size, but keeping the original prototype. The receiver must have at least
754 // the size of the new object. The object is reinitialized and behaves as an 755 // the size of the new object. The object is reinitialized and behaves as an
755 // object that has been freshly allocated. 756 // object that has been freshly allocated.
756 void ReinitializeJSProxy(Handle<JSProxy> proxy, InstanceType type, int size); 757 void ReinitializeJSProxy(Handle<JSProxy> proxy, InstanceType type, int size);
757 }; 758 };
758 759
759 } } // namespace v8::internal 760 } } // namespace v8::internal
760 761
761 #endif // V8_FACTORY_H_ 762 #endif // V8_FACTORY_H_
OLDNEW
« no previous file with comments | « src/debug/debug-evaluate.cc ('k') | src/factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698