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

Side by Side Diff: src/factory.h

Issue 304143002: Add support for extended constant pool arrays. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Sync Created 6 years, 6 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/arm/assembler-arm.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 9
10 namespace v8 { 10 namespace v8 {
(...skipping 27 matching lines...) Expand all
38 Handle<FixedArrayBase> NewFixedDoubleArray( 38 Handle<FixedArrayBase> NewFixedDoubleArray(
39 int size, 39 int size,
40 PretenureFlag pretenure = NOT_TENURED); 40 PretenureFlag pretenure = NOT_TENURED);
41 41
42 // Allocate a new fixed double array with hole values. 42 // Allocate a new fixed double array with hole values.
43 Handle<FixedArrayBase> NewFixedDoubleArrayWithHoles( 43 Handle<FixedArrayBase> NewFixedDoubleArrayWithHoles(
44 int size, 44 int size,
45 PretenureFlag pretenure = NOT_TENURED); 45 PretenureFlag pretenure = NOT_TENURED);
46 46
47 Handle<ConstantPoolArray> NewConstantPoolArray( 47 Handle<ConstantPoolArray> NewConstantPoolArray(
48 int number_of_int64_entries, 48 const ConstantPoolArray::NumberOfEntries& small);
49 int number_of_code_ptr_entries, 49
50 int number_of_heap_ptr_entries, 50 Handle<ConstantPoolArray> NewExtendedConstantPoolArray(
51 int number_of_int32_entries); 51 const ConstantPoolArray::NumberOfEntries& small,
52 const ConstantPoolArray::NumberOfEntries& extended);
52 53
53 Handle<OrderedHashSet> NewOrderedHashSet(); 54 Handle<OrderedHashSet> NewOrderedHashSet();
54 Handle<OrderedHashMap> NewOrderedHashMap(); 55 Handle<OrderedHashMap> NewOrderedHashMap();
55 56
56 // Create a new boxed value. 57 // Create a new boxed value.
57 Handle<Box> NewBox(Handle<Object> value); 58 Handle<Box> NewBox(Handle<Object> value);
58 59
59 // Create a pre-tenured empty AccessorPair. 60 // Create a pre-tenured empty AccessorPair.
60 Handle<AccessorPair> NewAccessorPair(); 61 Handle<AccessorPair> NewAccessorPair();
61 62
(...skipping 632 matching lines...) Expand 10 before | Expand all | Expand 10 after
694 PretenureFlag pretenure = TENURED); 695 PretenureFlag pretenure = TENURED);
695 696
696 Handle<JSFunction> NewFunction(Handle<Map> map, 697 Handle<JSFunction> NewFunction(Handle<Map> map,
697 Handle<String> name, 698 Handle<String> name,
698 MaybeHandle<Code> maybe_code); 699 MaybeHandle<Code> maybe_code);
699 }; 700 };
700 701
701 } } // namespace v8::internal 702 } } // namespace v8::internal
702 703
703 #endif // V8_FACTORY_H_ 704 #endif // V8_FACTORY_H_
OLDNEW
« no previous file with comments | « src/arm/assembler-arm.cc ('k') | src/factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698