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

Side by Side Diff: src/x64/macro-assembler-x64.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/mips64/macro-assembler-mips64.cc ('k') | src/x64/macro-assembler-x64.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_X64_MACRO_ASSEMBLER_X64_H_ 5 #ifndef V8_X64_MACRO_ASSEMBLER_X64_H_
6 #define V8_X64_MACRO_ASSEMBLER_X64_H_ 6 #define V8_X64_MACRO_ASSEMBLER_X64_H_
7 7
8 #include "src/assembler.h" 8 #include "src/assembler.h"
9 #include "src/bailout-reason.h" 9 #include "src/bailout-reason.h"
10 #include "src/base/flags.h" 10 #include "src/base/flags.h"
(...skipping 1289 matching lines...) Expand 10 before | Expand all | Expand 10 after
1300 Label* gc_required, 1300 Label* gc_required,
1301 AllocationFlags flags); 1301 AllocationFlags flags);
1302 1302
1303 void Allocate(Register object_size, 1303 void Allocate(Register object_size,
1304 Register result, 1304 Register result,
1305 Register result_end, 1305 Register result_end,
1306 Register scratch, 1306 Register scratch,
1307 Label* gc_required, 1307 Label* gc_required,
1308 AllocationFlags flags); 1308 AllocationFlags flags);
1309 1309
1310 // FastAllocate is right now only used for folded allocations. It just
1311 // increments the top pointer without checking against limit. This can only
1312 // be done if it was proved earlier that the allocation will succeed.
1313 void FastAllocate(int object_size, Register result, Register result_end,
1314 AllocationFlags flags);
1315
1316 void FastAllocate(Register object_size, Register result, Register result_end,
1317 AllocationFlags flags);
1318
1310 // Allocate a heap number in new space with undefined value. Returns 1319 // Allocate a heap number in new space with undefined value. Returns
1311 // tagged pointer in result register, or jumps to gc_required if new 1320 // tagged pointer in result register, or jumps to gc_required if new
1312 // space is full. 1321 // space is full.
1313 void AllocateHeapNumber(Register result, 1322 void AllocateHeapNumber(Register result,
1314 Register scratch, 1323 Register scratch,
1315 Label* gc_required, 1324 Label* gc_required,
1316 MutableMode mode = IMMUTABLE); 1325 MutableMode mode = IMMUTABLE);
1317 1326
1318 // Allocate a sequential string. All the header fields of the string object 1327 // Allocate a sequential string. All the header fields of the string object
1319 // are initialized. 1328 // are initialized.
(...skipping 444 matching lines...) Expand 10 before | Expand all | Expand 10 after
1764 } \ 1773 } \
1765 masm-> 1774 masm->
1766 #else 1775 #else
1767 #define ACCESS_MASM(masm) masm-> 1776 #define ACCESS_MASM(masm) masm->
1768 #endif 1777 #endif
1769 1778
1770 } // namespace internal 1779 } // namespace internal
1771 } // namespace v8 1780 } // namespace v8
1772 1781
1773 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ 1782 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_
OLDNEW
« no previous file with comments | « src/mips64/macro-assembler-mips64.cc ('k') | src/x64/macro-assembler-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698