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

Side by Side Diff: src/heap/heap.h

Issue 1273353003: [simd.js] Single SIMD128_VALUE_TYPE for all Simd128Values. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix slow check failures. REBASE. 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/full-codegen/x64/full-codegen-x64.cc ('k') | src/heap/heap.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 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_HEAP_H_ 5 #ifndef V8_HEAP_HEAP_H_
6 #define V8_HEAP_HEAP_H_ 6 #define V8_HEAP_HEAP_H_
7 7
8 #include <cmath> 8 #include <cmath>
9 #include <map> 9 #include <map>
10 10
(...skipping 1653 matching lines...) Expand 10 before | Expand all | Expand 10 after
1664 MUST_USE_RESULT AllocationResult 1664 MUST_USE_RESULT AllocationResult
1665 AllocateJSObjectFromMap(Map* map, PretenureFlag pretenure = NOT_TENURED, 1665 AllocateJSObjectFromMap(Map* map, PretenureFlag pretenure = NOT_TENURED,
1666 AllocationSite* allocation_site = NULL); 1666 AllocationSite* allocation_site = NULL);
1667 1667
1668 // Allocates a HeapNumber from value. 1668 // Allocates a HeapNumber from value.
1669 MUST_USE_RESULT AllocationResult 1669 MUST_USE_RESULT AllocationResult
1670 AllocateHeapNumber(double value, MutableMode mode = IMMUTABLE, 1670 AllocateHeapNumber(double value, MutableMode mode = IMMUTABLE,
1671 PretenureFlag pretenure = NOT_TENURED); 1671 PretenureFlag pretenure = NOT_TENURED);
1672 1672
1673 // Allocates SIMD values from the given lane values. 1673 // Allocates SIMD values from the given lane values.
1674 #define SIMD_ALLOCATE_DECLARATION(type, type_name, lane_count, lane_type) \ 1674 #define SIMD_ALLOCATE_DECLARATION(TYPE, Type, type, lane_count, lane_type) \
1675 AllocationResult Allocate##type(lane_type lanes[lane_count], \ 1675 AllocationResult Allocate##Type(lane_type lanes[lane_count], \
1676 PretenureFlag pretenure = NOT_TENURED); 1676 PretenureFlag pretenure = NOT_TENURED);
1677
1678 SIMD128_TYPES(SIMD_ALLOCATE_DECLARATION) 1677 SIMD128_TYPES(SIMD_ALLOCATE_DECLARATION)
1678 #undef SIMD_ALLOCATE_DECLARATION
1679 1679
1680 // Allocates a byte array of the specified length 1680 // Allocates a byte array of the specified length
1681 MUST_USE_RESULT AllocationResult 1681 MUST_USE_RESULT AllocationResult
1682 AllocateByteArray(int length, PretenureFlag pretenure = NOT_TENURED); 1682 AllocateByteArray(int length, PretenureFlag pretenure = NOT_TENURED);
1683 1683
1684 // Allocates a bytecode array with given contents. 1684 // Allocates a bytecode array with given contents.
1685 MUST_USE_RESULT AllocationResult 1685 MUST_USE_RESULT AllocationResult
1686 AllocateBytecodeArray(int length, const byte* raw_bytecodes, 1686 AllocateBytecodeArray(int length, const byte* raw_bytecodes,
1687 int frame_size); 1687 int frame_size);
1688 1688
(...skipping 1091 matching lines...) Expand 10 before | Expand all | Expand 10 after
2780 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. 2780 DisallowHeapAllocation no_allocation; // i.e. no gc allowed.
2781 2781
2782 private: 2782 private:
2783 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); 2783 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer);
2784 }; 2784 };
2785 #endif // DEBUG 2785 #endif // DEBUG
2786 } 2786 }
2787 } // namespace v8::internal 2787 } // namespace v8::internal
2788 2788
2789 #endif // V8_HEAP_HEAP_H_ 2789 #endif // V8_HEAP_HEAP_H_
OLDNEW
« no previous file with comments | « src/full-codegen/x64/full-codegen-x64.cc ('k') | src/heap/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698