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

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

Issue 1226203011: Remove unused byte from Map::instance_sizes field. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Ported to all architectures. Created 5 years, 5 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/factory.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 1631 matching lines...) Expand 10 before | Expand all | Expand 10 after
1642 MUST_USE_RESULT AllocationResult 1642 MUST_USE_RESULT AllocationResult
1643 AllocateJSObject(JSFunction* constructor, 1643 AllocateJSObject(JSFunction* constructor,
1644 PretenureFlag pretenure = NOT_TENURED, 1644 PretenureFlag pretenure = NOT_TENURED,
1645 AllocationSite* allocation_site = NULL); 1645 AllocationSite* allocation_site = NULL);
1646 1646
1647 // Allocates and initializes a new JavaScript object based on a map. 1647 // Allocates and initializes a new JavaScript object based on a map.
1648 // Passing an allocation site means that a memento will be created that 1648 // Passing an allocation site means that a memento will be created that
1649 // points to the site. 1649 // points to the site.
1650 MUST_USE_RESULT AllocationResult 1650 MUST_USE_RESULT AllocationResult
1651 AllocateJSObjectFromMap(Map* map, PretenureFlag pretenure = NOT_TENURED, 1651 AllocateJSObjectFromMap(Map* map, PretenureFlag pretenure = NOT_TENURED,
1652 bool alloc_props = true,
1653 AllocationSite* allocation_site = NULL); 1652 AllocationSite* allocation_site = NULL);
1654 1653
1655 // Allocates a HeapNumber from value. 1654 // Allocates a HeapNumber from value.
1656 MUST_USE_RESULT AllocationResult 1655 MUST_USE_RESULT AllocationResult
1657 AllocateHeapNumber(double value, MutableMode mode = IMMUTABLE, 1656 AllocateHeapNumber(double value, MutableMode mode = IMMUTABLE,
1658 PretenureFlag pretenure = NOT_TENURED); 1657 PretenureFlag pretenure = NOT_TENURED);
1659 1658
1660 // Allocates a Float32x4 from the given lane values. 1659 // Allocates a Float32x4 from the given lane values.
1661 MUST_USE_RESULT AllocationResult 1660 MUST_USE_RESULT AllocationResult
1662 AllocateFloat32x4(float w, float x, float y, float z, 1661 AllocateFloat32x4(float w, float x, float y, float z,
(...skipping 1204 matching lines...) Expand 10 before | Expand all | Expand 10 after
2867 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. 2866 DisallowHeapAllocation no_allocation; // i.e. no gc allowed.
2868 2867
2869 private: 2868 private:
2870 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); 2869 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer);
2871 }; 2870 };
2872 #endif // DEBUG 2871 #endif // DEBUG
2873 } 2872 }
2874 } // namespace v8::internal 2873 } // namespace v8::internal
2875 2874
2876 #endif // V8_HEAP_HEAP_H_ 2875 #endif // V8_HEAP_HEAP_H_
OLDNEW
« no previous file with comments | « src/factory.cc ('k') | src/heap/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698