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

Side by Side Diff: src/heap.h

Issue 304143002: Add support for extended constant pool arrays. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: 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
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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_HEAP_H_ 5 #ifndef V8_HEAP_H_
6 #define V8_HEAP_H_ 6 #define V8_HEAP_H_
7 7
8 #include <cmath> 8 #include <cmath>
9 9
10 #include "allocation.h" 10 #include "allocation.h"
(...skipping 1851 matching lines...) Expand 10 before | Expand all | Expand 10 after
1862 // Make a copy of src, set the map, and return the copy. 1862 // Make a copy of src, set the map, and return the copy.
1863 MUST_USE_RESULT AllocationResult CopyConstantPoolArrayWithMap( 1863 MUST_USE_RESULT AllocationResult CopyConstantPoolArrayWithMap(
1864 ConstantPoolArray* src, Map* map); 1864 ConstantPoolArray* src, Map* map);
1865 1865
1866 MUST_USE_RESULT AllocationResult AllocateConstantPoolArray( 1866 MUST_USE_RESULT AllocationResult AllocateConstantPoolArray(
1867 int number_of_int64_entries, 1867 int number_of_int64_entries,
1868 int number_of_code_ptr_entries, 1868 int number_of_code_ptr_entries,
1869 int number_of_heap_ptr_entries, 1869 int number_of_heap_ptr_entries,
1870 int number_of_int32_entries); 1870 int number_of_int32_entries);
1871 1871
1872 MUST_USE_RESULT AllocationResult AllocateExtendedConstantPoolArray(
1873 int small_section_int64_entries,
1874 int small_section_code_ptr_entries,
1875 int small_section_heap_ptr_entries,
1876 int small_section_int32_entries,
1877 int extended_section_int64_entries,
1878 int extended_section_code_ptr_entries,
1879 int extended_section_heap_ptr_entries,
1880 int extended_section_int32_entries);
1881
1872 // Allocates an external array of the specified length and type. 1882 // Allocates an external array of the specified length and type.
1873 MUST_USE_RESULT AllocationResult AllocateExternalArray( 1883 MUST_USE_RESULT AllocationResult AllocateExternalArray(
1874 int length, 1884 int length,
1875 ExternalArrayType array_type, 1885 ExternalArrayType array_type,
1876 void* external_pointer, 1886 void* external_pointer,
1877 PretenureFlag pretenure); 1887 PretenureFlag pretenure);
1878 1888
1879 // Allocates a fixed typed array of the specified length and type. 1889 // Allocates a fixed typed array of the specified length and type.
1880 MUST_USE_RESULT AllocationResult AllocateFixedTypedArray( 1890 MUST_USE_RESULT AllocationResult AllocateFixedTypedArray(
1881 int length, 1891 int length,
(...skipping 878 matching lines...) Expand 10 before | Expand all | Expand 10 after
2760 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. 2770 DisallowHeapAllocation no_allocation; // i.e. no gc allowed.
2761 2771
2762 private: 2772 private:
2763 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); 2773 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer);
2764 }; 2774 };
2765 #endif // DEBUG 2775 #endif // DEBUG
2766 2776
2767 } } // namespace v8::internal 2777 } } // namespace v8::internal
2768 2778
2769 #endif // V8_HEAP_H_ 2779 #endif // V8_HEAP_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698