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

Side by Side Diff: src/macro-assembler.h

Issue 1899813003: [crankshaft] Fragmentation-free allocation folding. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 7 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/ia32/macro-assembler-ia32.cc ('k') | src/mips/macro-assembler-mips.h » ('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_MACRO_ASSEMBLER_H_ 5 #ifndef V8_MACRO_ASSEMBLER_H_
6 #define V8_MACRO_ASSEMBLER_H_ 6 #define V8_MACRO_ASSEMBLER_H_
7 7
8 #include "src/assembler.h" 8 #include "src/assembler.h"
9 9
10 10
(...skipping 11 matching lines...) Expand all
22 // The content of the result register already contains the allocation top in 22 // The content of the result register already contains the allocation top in
23 // new space. 23 // new space.
24 RESULT_CONTAINS_TOP = 1 << 0, 24 RESULT_CONTAINS_TOP = 1 << 0,
25 // Specify that the requested size of the space to allocate is specified in 25 // Specify that the requested size of the space to allocate is specified in
26 // words instead of bytes. 26 // words instead of bytes.
27 SIZE_IN_WORDS = 1 << 1, 27 SIZE_IN_WORDS = 1 << 1,
28 // Align the allocation to a multiple of kDoubleSize 28 // Align the allocation to a multiple of kDoubleSize
29 DOUBLE_ALIGNMENT = 1 << 2, 29 DOUBLE_ALIGNMENT = 1 << 2,
30 // Directly allocate in old space 30 // Directly allocate in old space
31 PRETENURE = 1 << 3, 31 PRETENURE = 1 << 3,
32 // Allocation folding dominator
33 ALLOCATION_FOLDING_DOMINATOR = 1 << 4,
34 // Folded allocation
35 ALLOCATION_FOLDED = 1 << 5
32 }; 36 };
33 37
34 #if V8_TARGET_ARCH_IA32 38 #if V8_TARGET_ARCH_IA32
35 #include "src/ia32/assembler-ia32.h" 39 #include "src/ia32/assembler-ia32.h"
36 #include "src/ia32/assembler-ia32-inl.h" 40 #include "src/ia32/assembler-ia32-inl.h"
37 #include "src/ia32/macro-assembler-ia32.h" 41 #include "src/ia32/macro-assembler-ia32.h"
38 #elif V8_TARGET_ARCH_X64 42 #elif V8_TARGET_ARCH_X64
39 #include "src/x64/assembler-x64.h" 43 #include "src/x64/assembler-x64.h"
40 #include "src/x64/assembler-x64-inl.h" 44 #include "src/x64/assembler-x64-inl.h"
41 #include "src/x64/macro-assembler-x64.h" 45 #include "src/x64/macro-assembler-x64.h"
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after
277 } 281 }
278 return ExternalReference::new_space_allocation_limit_address(isolate); 282 return ExternalReference::new_space_allocation_limit_address(isolate);
279 } 283 }
280 }; 284 };
281 285
282 286
283 } // namespace internal 287 } // namespace internal
284 } // namespace v8 288 } // namespace v8
285 289
286 #endif // V8_MACRO_ASSEMBLER_H_ 290 #endif // V8_MACRO_ASSEMBLER_H_
OLDNEW
« no previous file with comments | « src/ia32/macro-assembler-ia32.cc ('k') | src/mips/macro-assembler-mips.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698