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

Side by Side Diff: src/x87/macro-assembler-x87.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/x64/macro-assembler-x64.cc ('k') | src/x87/macro-assembler-x87.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_X87_MACRO_ASSEMBLER_X87_H_ 5 #ifndef V8_X87_MACRO_ASSEMBLER_X87_H_
6 #define V8_X87_MACRO_ASSEMBLER_X87_H_ 6 #define V8_X87_MACRO_ASSEMBLER_X87_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/frames.h" 10 #include "src/frames.h"
(...skipping 611 matching lines...) Expand 10 before | Expand all | Expand 10 after
622 Register scratch, Label* gc_required, AllocationFlags flags); 622 Register scratch, Label* gc_required, AllocationFlags flags);
623 623
624 void Allocate(int header_size, ScaleFactor element_size, 624 void Allocate(int header_size, ScaleFactor element_size,
625 Register element_count, RegisterValueType element_count_type, 625 Register element_count, RegisterValueType element_count_type,
626 Register result, Register result_end, Register scratch, 626 Register result, Register result_end, Register scratch,
627 Label* gc_required, AllocationFlags flags); 627 Label* gc_required, AllocationFlags flags);
628 628
629 void Allocate(Register object_size, Register result, Register result_end, 629 void Allocate(Register object_size, Register result, Register result_end,
630 Register scratch, Label* gc_required, AllocationFlags flags); 630 Register scratch, Label* gc_required, AllocationFlags flags);
631 631
632 void FastAllocate(int object_size, Register result, Register result_end,
633 AllocationFlags flags);
634 void FastAllocate(Register object_size, Register result, Register result_end,
635 AllocationFlags flags);
636
632 // Allocate a heap number in new space with undefined value. The 637 // Allocate a heap number in new space with undefined value. The
633 // register scratch2 can be passed as no_reg; the others must be 638 // register scratch2 can be passed as no_reg; the others must be
634 // valid registers. Returns tagged pointer in result register, or 639 // valid registers. Returns tagged pointer in result register, or
635 // jumps to gc_required if new space is full. 640 // jumps to gc_required if new space is full.
636 void AllocateHeapNumber(Register result, Register scratch1, Register scratch2, 641 void AllocateHeapNumber(Register result, Register scratch1, Register scratch2,
637 Label* gc_required, MutableMode mode = IMMUTABLE); 642 Label* gc_required, MutableMode mode = IMMUTABLE);
638 643
639 // Allocate a sequential string. All the header fields of the string object 644 // Allocate a sequential string. All the header fields of the string object
640 // are initialized. 645 // are initialized.
641 void AllocateTwoByteString(Register result, Register length, 646 void AllocateTwoByteString(Register result, Register length,
(...skipping 403 matching lines...) Expand 10 before | Expand all | Expand 10 after
1045 } \ 1050 } \
1046 masm-> 1051 masm->
1047 #else 1052 #else
1048 #define ACCESS_MASM(masm) masm-> 1053 #define ACCESS_MASM(masm) masm->
1049 #endif 1054 #endif
1050 1055
1051 } // namespace internal 1056 } // namespace internal
1052 } // namespace v8 1057 } // namespace v8
1053 1058
1054 #endif // V8_X87_MACRO_ASSEMBLER_X87_H_ 1059 #endif // V8_X87_MACRO_ASSEMBLER_X87_H_
OLDNEW
« no previous file with comments | « src/x64/macro-assembler-x64.cc ('k') | src/x87/macro-assembler-x87.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698