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

Side by Side Diff: src/factory.cc

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/factory.h ('k') | src/heap/heap.h » ('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 #include "src/factory.h" 5 #include "src/factory.h"
6 6
7 #include "src/allocation-site-scopes.h" 7 #include "src/allocation-site-scopes.h"
8 #include "src/base/bits.h" 8 #include "src/base/bits.h"
9 #include "src/bootstrapper.h" 9 #include "src/bootstrapper.h"
10 #include "src/conversions.h" 10 #include "src/conversions.h"
(...skipping 961 matching lines...) Expand 10 before | Expand all | Expand 10 after
972 972
973 Handle<FixedArray> Factory::CopyFixedArrayWithMap(Handle<FixedArray> array, 973 Handle<FixedArray> Factory::CopyFixedArrayWithMap(Handle<FixedArray> array,
974 Handle<Map> map) { 974 Handle<Map> map) {
975 CALL_HEAP_FUNCTION(isolate(), 975 CALL_HEAP_FUNCTION(isolate(),
976 isolate()->heap()->CopyFixedArrayWithMap(*array, *map), 976 isolate()->heap()->CopyFixedArrayWithMap(*array, *map),
977 FixedArray); 977 FixedArray);
978 } 978 }
979 979
980 980
981 Handle<FixedArray> Factory::CopyFixedArrayAndGrow(Handle<FixedArray> array, 981 Handle<FixedArray> Factory::CopyFixedArrayAndGrow(Handle<FixedArray> array,
982 int grow_by) { 982 int grow_by,
983 CALL_HEAP_FUNCTION(isolate(), 983 PretenureFlag pretenure) {
984 isolate()->heap()->CopyFixedArrayAndGrow(*array, grow_by), 984 CALL_HEAP_FUNCTION(isolate(), isolate()->heap()->CopyFixedArrayAndGrow(
985 *array, grow_by, pretenure),
985 FixedArray); 986 FixedArray);
986 } 987 }
987 988
988 989
989 Handle<FixedArray> Factory::CopyFixedArray(Handle<FixedArray> array) { 990 Handle<FixedArray> Factory::CopyFixedArray(Handle<FixedArray> array) {
990 CALL_HEAP_FUNCTION(isolate(), 991 CALL_HEAP_FUNCTION(isolate(),
991 isolate()->heap()->CopyFixedArray(*array), 992 isolate()->heap()->CopyFixedArray(*array),
992 FixedArray); 993 FixedArray);
993 } 994 }
994 995
(...skipping 1477 matching lines...) Expand 10 before | Expand all | Expand 10 after
2472 } 2473 }
2473 2474
2474 2475
2475 Handle<Object> Factory::ToBoolean(bool value) { 2476 Handle<Object> Factory::ToBoolean(bool value) {
2476 return value ? true_value() : false_value(); 2477 return value ? true_value() : false_value();
2477 } 2478 }
2478 2479
2479 2480
2480 } // namespace internal 2481 } // namespace internal
2481 } // namespace v8 2482 } // namespace v8
OLDNEW
« no previous file with comments | « src/factory.h ('k') | src/heap/heap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698