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

Side by Side Diff: src/mips64/macro-assembler-mips64.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/mips/macro-assembler-mips.cc ('k') | src/mips64/macro-assembler-mips64.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_MIPS_MACRO_ASSEMBLER_MIPS_H_ 5 #ifndef V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
6 #define V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ 6 #define V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
7 7
8 #include "src/assembler.h" 8 #include "src/assembler.h"
9 #include "src/globals.h" 9 #include "src/globals.h"
10 #include "src/mips64/assembler-mips64.h" 10 #include "src/mips64/assembler-mips64.h"
(...skipping 569 matching lines...) Expand 10 before | Expand all | Expand 10 after
580 void Allocate(int object_size, 580 void Allocate(int object_size,
581 Register result, 581 Register result,
582 Register scratch1, 582 Register scratch1,
583 Register scratch2, 583 Register scratch2,
584 Label* gc_required, 584 Label* gc_required,
585 AllocationFlags flags); 585 AllocationFlags flags);
586 586
587 void Allocate(Register object_size, Register result, Register result_end, 587 void Allocate(Register object_size, Register result, Register result_end,
588 Register scratch, Label* gc_required, AllocationFlags flags); 588 Register scratch, Label* gc_required, AllocationFlags flags);
589 589
590 // FastAllocate is right now only used for folded allocations. It just
591 // increments the top pointer without checking against limit. This can only
592 // be done if it was proved earlier that the allocation will succeed.
593 void FastAllocate(int object_size, Register result, Register scratch1,
594 Register scratch2, AllocationFlags flags);
595
596 void FastAllocate(Register object_size, Register result, Register result_new,
597 Register scratch, AllocationFlags flags);
598
590 void AllocateTwoByteString(Register result, 599 void AllocateTwoByteString(Register result,
591 Register length, 600 Register length,
592 Register scratch1, 601 Register scratch1,
593 Register scratch2, 602 Register scratch2,
594 Register scratch3, 603 Register scratch3,
595 Label* gc_required); 604 Label* gc_required);
596 void AllocateOneByteString(Register result, Register length, 605 void AllocateOneByteString(Register result, Register length,
597 Register scratch1, Register scratch2, 606 Register scratch1, Register scratch2,
598 Register scratch3, Label* gc_required); 607 Register scratch3, Label* gc_required);
599 void AllocateTwoByteConsString(Register result, 608 void AllocateTwoByteConsString(Register result,
(...skipping 1422 matching lines...) Expand 10 before | Expand all | Expand 10 after
2022 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 2031 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
2023 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 2032 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
2024 #else 2033 #else
2025 #define ACCESS_MASM(masm) masm-> 2034 #define ACCESS_MASM(masm) masm->
2026 #endif 2035 #endif
2027 2036
2028 } // namespace internal 2037 } // namespace internal
2029 } // namespace v8 2038 } // namespace v8
2030 2039
2031 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ 2040 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
OLDNEW
« no previous file with comments | « src/mips/macro-assembler-mips.cc ('k') | src/mips64/macro-assembler-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698