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

Side by Side Diff: src/factory.h

Issue 1483003002: Revert of Introduce instance type for transition arrays. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years 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 | « include/v8.h ('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 #include "src/type-feedback-vector.h" 10 #include "src/type-feedback-vector.h"
(...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after
288 Handle<FixedTypedArrayBase> NewFixedTypedArray( 288 Handle<FixedTypedArrayBase> NewFixedTypedArray(
289 int length, ExternalArrayType array_type, bool initialize, 289 int length, ExternalArrayType array_type, bool initialize,
290 PretenureFlag pretenure = NOT_TENURED); 290 PretenureFlag pretenure = NOT_TENURED);
291 291
292 Handle<Cell> NewCell(Handle<Object> value); 292 Handle<Cell> NewCell(Handle<Object> value);
293 293
294 Handle<PropertyCell> NewPropertyCell(); 294 Handle<PropertyCell> NewPropertyCell();
295 295
296 Handle<WeakCell> NewWeakCell(Handle<HeapObject> value); 296 Handle<WeakCell> NewWeakCell(Handle<HeapObject> value);
297 297
298 Handle<TransitionArray> NewTransitionArray(int capacity);
299
300 // Allocate a tenured AllocationSite. It's payload is null. 298 // Allocate a tenured AllocationSite. It's payload is null.
301 Handle<AllocationSite> NewAllocationSite(); 299 Handle<AllocationSite> NewAllocationSite();
302 300
303 Handle<Map> NewMap( 301 Handle<Map> NewMap(
304 InstanceType type, 302 InstanceType type,
305 int instance_size, 303 int instance_size,
306 ElementsKind elements_kind = TERMINAL_FAST_ELEMENTS_KIND); 304 ElementsKind elements_kind = TERMINAL_FAST_ELEMENTS_KIND);
307 305
308 Handle<HeapObject> NewFillerObject(int size, 306 Handle<HeapObject> NewFillerObject(int size,
309 bool double_align, 307 bool double_align,
(...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after
705 703
706 Handle<JSFunction> NewFunction(Handle<Map> map, 704 Handle<JSFunction> NewFunction(Handle<Map> map,
707 Handle<String> name, 705 Handle<String> name,
708 MaybeHandle<Code> maybe_code); 706 MaybeHandle<Code> maybe_code);
709 }; 707 };
710 708
711 } // namespace internal 709 } // namespace internal
712 } // namespace v8 710 } // namespace v8
713 711
714 #endif // V8_FACTORY_H_ 712 #endif // V8_FACTORY_H_
OLDNEW
« no previous file with comments | « include/v8.h ('k') | src/factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698