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

Side by Side Diff: src/factory.h

Issue 249593002: Fix C++ type of Factory::NewFixedDoubleArray. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 8 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
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 "isolate.h" 8 #include "isolate.h"
9 9
10 namespace v8 { 10 namespace v8 {
(...skipping 15 matching lines...) Expand all
26 26
27 // Allocate a new fixed array with non-existing entries (the hole). 27 // Allocate a new fixed array with non-existing entries (the hole).
28 Handle<FixedArray> NewFixedArrayWithHoles( 28 Handle<FixedArray> NewFixedArrayWithHoles(
29 int size, 29 int size,
30 PretenureFlag pretenure = NOT_TENURED); 30 PretenureFlag pretenure = NOT_TENURED);
31 31
32 // Allocates an uninitialized fixed array. It must be filled by the caller. 32 // Allocates an uninitialized fixed array. It must be filled by the caller.
33 Handle<FixedArray> NewUninitializedFixedArray(int size); 33 Handle<FixedArray> NewUninitializedFixedArray(int size);
34 34
35 // Allocate a new uninitialized fixed double array. 35 // Allocate a new uninitialized fixed double array.
36 Handle<FixedDoubleArray> NewFixedDoubleArray( 36 Handle<FixedArrayBase> NewFixedDoubleArray(
37 int size, 37 int size,
38 PretenureFlag pretenure = NOT_TENURED); 38 PretenureFlag pretenure = NOT_TENURED);
39 39
40 // Allocate a new fixed double array with hole values. 40 // Allocate a new fixed double array with hole values.
41 Handle<FixedDoubleArray> NewFixedDoubleArrayWithHoles( 41 Handle<FixedArrayBase> NewFixedDoubleArrayWithHoles(
42 int size, 42 int size,
43 PretenureFlag pretenure = NOT_TENURED); 43 PretenureFlag pretenure = NOT_TENURED);
44 44
45 Handle<ConstantPoolArray> NewConstantPoolArray( 45 Handle<ConstantPoolArray> NewConstantPoolArray(
46 int number_of_int64_entries, 46 int number_of_int64_entries,
47 int number_of_code_ptr_entries, 47 int number_of_code_ptr_entries,
48 int number_of_heap_ptr_entries, 48 int number_of_heap_ptr_entries,
49 int number_of_int32_entries); 49 int number_of_int32_entries);
50 50
51 Handle<SeededNumberDictionary> NewSeededNumberDictionary( 51 Handle<SeededNumberDictionary> NewSeededNumberDictionary(
(...skipping 629 matching lines...) Expand 10 before | Expand all | Expand 10 after
681 // the string representation of the number. Otherwise return undefined. 681 // the string representation of the number. Otherwise return undefined.
682 Handle<Object> GetNumberStringCache(Handle<Object> number); 682 Handle<Object> GetNumberStringCache(Handle<Object> number);
683 683
684 // Update the cache with a new number-string pair. 684 // Update the cache with a new number-string pair.
685 void SetNumberStringCache(Handle<Object> number, Handle<String> string); 685 void SetNumberStringCache(Handle<Object> number, Handle<String> string);
686 }; 686 };
687 687
688 } } // namespace v8::internal 688 } } // namespace v8::internal
689 689
690 #endif // V8_FACTORY_H_ 690 #endif // V8_FACTORY_H_
OLDNEW
« src/builtins.cc ('K') | « src/builtins.cc ('k') | src/factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698